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 36788f0 commit 4e07f55Copy full SHA for 4e07f55
utils/scripts/version.sh
@@ -1,12 +1,16 @@
1
#!/bin/sh
2
3
-set -e
+# Set auth variable for lerna-changelog and github-release.js
4
+GITHUB_AUTH=$(git config github.token)
5
-if [[ -z "$GITHUB_AUTH" ]]; then
6
- echo "ERROR: Must provide GITHUB_AUTH token in environment"
+if [[ -z $GITHUB_AUTH ]]; then
7
+ echo "ERROR: Must provide 'github.token' in git configuration"
8
exit 1
9
fi
10
11
+# Exit on error
12
+set -e
13
+
14
echo "INFO: Pulling recent changes..."
15
git pull
16
0 commit comments