File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ git config --global user.email "gitlab-actions[bot]@users.noreply.github.com"
13
13
touch a.tmp
14
14
git add a.tmp
15
15
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
16
18
git push origin $( git branch --show-current) :alex.angelillo/test
17
19
18
20
# Read the S3 bucket
@@ -78,6 +80,7 @@ if [ "$PROD_RELEASE" = true ] ; then
78
80
exit 1
79
81
fi
80
82
83
+ # datadog-cloudformation-macro-bot
81
84
echo " Setting origin to github.com/DataDog/datadog-cloudformation-macro.git"
82
85
git remote set-url origin https://github.com/DataDog/datadog-cloudformation-macro.git
83
86
@@ -111,6 +114,7 @@ if [ "$PROD_RELEASE" = true ] ; then
111
114
git commit -m " Bump version from ${CURRENT_VERSION} to ${VERSION} "
112
115
# git push origin main
113
116
echo " pushing to remote branch"
117
+ git remote set-url origin https://$GH_TOKEN @github.com/DataDog/datadog-cloudformation-macro.git
114
118
git push origin main
115
119
116
120
# Create a github release
You can’t perform that action at this time.
0 commit comments