Compare commits
No commits in common. "b23d60a6adc09ad246b24d959fae99739424bb7f" and "3bc86d8aa3ec1f91925b0524924075ac4af7905e" have entirely different histories.
b23d60a6ad
...
3bc86d8aa3
22
publish.sh
22
publish.sh
@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -exu
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# this script will tag the repo then push it to origin
|
||||
TAG_NAME="$(head -n 1 ./version.txt)"
|
||||
TAG_MESSAGE="Creating tag $TAG_NAME on $(date)."
|
||||
|
||||
git tag -a "$TAG_NAME" -m "$TAG_MESSAGE" -s
|
||||
|
||||
# optional; push to remote
|
||||
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
|
@ -1 +0,0 @@
|
||||
v0.0.22
|
Loading…
Reference in New Issue
Block a user