Updated publish for support git remotes.

This commit is contained in:
Derek Smith 2022-12-26 10:34:08 -05:00
parent e0da0c511a
commit b23d60a6ad
Signed by: farscapian
GPG Key ID: 8F1CD799CCA516CC

View File

@ -10,5 +10,13 @@ TAG_MESSAGE="Creating tag $TAG_NAME on $(date)."
git tag -a "$TAG_NAME" -m "$TAG_MESSAGE" -s git tag -a "$TAG_NAME" -m "$TAG_MESSAGE" -s
# optional; push to remote # optional; push to remote
git push --all git push --set-upstream origin --all
git push --tags git push --set-upstream origin --tags
RESPONSE=
read -r -p " Would you like to push this to the main ss repo? (y) ": RESPONSE
if [ "$RESPONSE" != "y" ]; then
# optional; push to remote
git push --set-upstream ss-upstream --all
git push --set-upstream ss-upstream --tags
fi