Skip to content

Commit 59e3445

Browse files
committed
tmp
1 parent f2196e7 commit 59e3445

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

serverless/release.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ git config --global user.email "gitlab-actions[bot]@users.noreply.github.com"
1313
touch a.tmp
1414
git add a.tmp
1515
git commit -m "TEST!"
16+
git remote set-url origin https://github.com/DataDog/datadog-cloudformation-macro.git
17+
remote set-url origin https://$GH_TOKEN@github.com/datadog-cloudformation-macro-bot/datadog-cloudformation-macro.git
1618
git push origin $(git branch --show-current):alex.angelillo/test
1719

1820
# Read the S3 bucket
@@ -78,6 +80,7 @@ if [ "$PROD_RELEASE" = true ] ; then
7880
exit 1
7981
fi
8082

83+
# datadog-cloudformation-macro-bot
8184
echo "Setting origin to github.com/DataDog/datadog-cloudformation-macro.git"
8285
git remote set-url origin https://github.com/DataDog/datadog-cloudformation-macro.git
8386

@@ -111,6 +114,7 @@ if [ "$PROD_RELEASE" = true ] ; then
111114
git commit -m "Bump version from ${CURRENT_VERSION} to ${VERSION}"
112115
# git push origin main
113116
echo "pushing to remote branch"
117+
git remote set-url origin https://$GH_TOKEN@github.com/DataDog/datadog-cloudformation-macro.git
114118
git push origin main
115119

116120
# Create a github release

0 commit comments

Comments
 (0)