We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b94cd69 commit 538d339Copy full SHA for 538d339
justfile
@@ -156,7 +156,7 @@ release: package
156
echo "Please set GH_TOKEN environment variable or create .netrc with GitHub credentials."; \
157
exit 1; \
158
fi; \
159
- GITHUB_TOKEN=$(grep "machine github.com" ~/.netrc | grep "password" | awk '{print $6}') && \
+ GITHUB_TOKEN=$(grep "machine github.com" ~/.netrc | grep "password" | awk '{print $6}' | head -1) && \
160
if [ -z "$GITHUB_TOKEN" ]; then \
161
echo "Error: GitHub token not found in .netrc file."; \
162
echo "Please ensure your .netrc contains a 'machine github.com' entry with a password or set GH_TOKEN."; \
0 commit comments