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 99# Go to the project root directory
1010cd $( dirname ${0} ) /../..
1111
12- if [ -z ${MATERIAL2_BUILDS_TOKEN } ]; then
12+ if [ -z ${SNAPSHOT_BUILDS_GITHUB_TOKEN } ]; then
1313 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 '."
1515 exit 1
1616fi
1717
@@ -98,7 +98,7 @@ publishPackage() {
9898 git config user.email " ${commitAuthorEmail} "
9999 git config credential.helper " store --file=.git/credentials"
100100
101- echo " https://${MATERIAL2_BUILDS_TOKEN } :@github.com" > .git/credentials
101+ echo " https://${SNAPSHOT_BUILDS_GITHUB_TOKEN } :@github.com" > .git/credentials
102102
103103 echo " Git configuration has been updated to match the last commit author. Publishing now.."
104104
Original file line number Diff line number Diff line change 88
99cd " $( dirname $0 ) /../../"
1010
11- if [ -z ${MATERIAL2_BUILDS_TOKEN } ]; then
11+ if [ -z ${SNAPSHOT_BUILDS_GITHUB_TOKEN } ]; then
1212 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 '."
1414 exit 1
1515fi
1616
@@ -96,7 +96,7 @@ git config user.name "$commitAuthorName"
9696git config user.email " $commitAuthorEmail "
9797git config credential.helper " store --file=.git/credentials"
9898
99- echo " https://${MATERIAL2_BUILDS_TOKEN } :@github.com" > .git/credentials
99+ echo " https://${SNAPSHOT_BUILDS_GITHUB_TOKEN } :@github.com" > .git/credentials
100100
101101echo " Credentials for docs-content repository are now set up. Publishing.."
102102
You can’t perform that action at this time.
0 commit comments