1
1
sovereign-stack/publish_tag.sh

15 lines
359 B
Bash
Raw Permalink Normal View History

2021-12-25 18:43:01 +00:00
#!/bin/bash
# this script will tag the repo then push it to origin
TAG_NAME=v0.0.14
COMIT_MESSAGE="Creating commit on $(date)."
TAG_MESSAGE="Creating tag $TAG_NAME on $(date)."
# create a git commit with staged changes.
git commit -m "$COMIT_MESSAGE" -s
git tag -a "$TAG_NAME" -m "$TAG_MESSAGE" -s
# optional; push to remote
git push --all
git push --tags