1
1
sovereign-stack/publish_tag.sh
Derek Smith 29b079a2c6
Creating commit on Sun Jan 2 10:34:53 AM EST 2022.
Signed-off-by: Derek Smith <derek@farscapian.com>
2022-01-02 10:34:53 -05:00

15 lines
359 B
Bash
Executable File

#!/bin/bash
# this script will tag the repo then push it to origin
TAG_NAME=v0.0.18
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