forked from ss/sovereign-stack
Updated publish for support git remotes.
This commit is contained in:
parent
e0da0c511a
commit
b23d60a6ad
12
publish.sh
12
publish.sh
@ -10,5 +10,13 @@ TAG_MESSAGE="Creating tag $TAG_NAME on $(date)."
|
||||
git tag -a "$TAG_NAME" -m "$TAG_MESSAGE" -s
|
||||
|
||||
# optional; push to remote
|
||||
git push --all
|
||||
git push --tags
|
||||
git push --set-upstream origin --all
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user