File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
# Go to the project root directory
10
10
cd $( dirname ${0} ) /../..
11
11
12
- if [ -z ${MATERIAL2_BUILDS_TOKEN } ]; then
12
+ if [ -z ${SNAPSHOT_BUILDS_GITHUB_TOKEN } ]; then
13
13
echo " Error: No access token for GitHub could be found." \
14
- " Please set the environment variable 'MATERIAL2_BUILDS_TOKEN '."
14
+ " Please set the environment variable 'SNAPSHOT_BUILDS_GITHUB_TOKEN '."
15
15
exit 1
16
16
fi
17
17
@@ -98,7 +98,7 @@ publishPackage() {
98
98
git config user.email " ${commitAuthorEmail} "
99
99
git config credential.helper " store --file=.git/credentials"
100
100
101
- echo " https://${MATERIAL2_BUILDS_TOKEN } :@github.com" > .git/credentials
101
+ echo " https://${SNAPSHOT_BUILDS_GITHUB_TOKEN } :@github.com" > .git/credentials
102
102
103
103
echo " Git configuration has been updated to match the last commit author. Publishing now.."
104
104
Original file line number Diff line number Diff line change 8
8
9
9
cd " $( dirname $0 ) /../../"
10
10
11
- if [ -z ${MATERIAL2_BUILDS_TOKEN } ]; then
11
+ if [ -z ${SNAPSHOT_BUILDS_GITHUB_TOKEN } ]; then
12
12
echo " Error: No access token for GitHub could be found." \
13
- " Please set the environment variable 'MATERIAL2_BUILDS_TOKEN '."
13
+ " Please set the environment variable 'SNAPSHOT_BUILDS_GITHUB_TOKEN '."
14
14
exit 1
15
15
fi
16
16
@@ -96,7 +96,7 @@ git config user.name "$commitAuthorName"
96
96
git config user.email " $commitAuthorEmail "
97
97
git config credential.helper " store --file=.git/credentials"
98
98
99
- echo " https://${MATERIAL2_BUILDS_TOKEN } :@github.com" > .git/credentials
99
+ echo " https://${SNAPSHOT_BUILDS_GITHUB_TOKEN } :@github.com" > .git/credentials
100
100
101
101
echo " Credentials for docs-content repository are now set up. Publishing.."
102
102
You can’t perform that action at this time.
0 commit comments