Skip to content

Commit 4126a83

Browse files
devversionjelbourn
authored andcommitted
chore(artifacts): properly authenticate git (#2200)
1 parent 656ef22 commit 4126a83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/release/publish-build-artifacts.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Script to publish the build artifacts to a GitHub repository.
44
# Builds will be automatically published once new changes are made to the repository.
55

6+
set -e -o pipefail
7+
68
# Go to the project root directory
79
cd $(dirname $0)/../..
810

@@ -40,7 +42,7 @@ git config user.name "$commitAuthorName"
4042
git config user.email "$commitAuthorEmail"
4143
git config credential.helper "store --file=.git/credentials"
4244

43-
echo "$MATERIAL2_BUILDS_TOKEN" > .git/credentials
45+
echo "https://${MATERIAL2_BUILDS_TOKEN}:@github.com" > .git/credentials
4446

4547
git add -A
4648
git commit -m "$commitMessage"

0 commit comments

Comments
 (0)