Skip to content

Commit

Permalink
Add the tag.sh script to this repository
Browse files Browse the repository at this point in the history
Since the GitHub Actions configuration builds images on tag pushes, we should
use the standard tagging script we use for the same purpose in other
repositories. This will make it easier to tag, build, and push Docker images
of a specific version in a standardized manner.
  • Loading branch information
mcdonnnj committed May 10, 2021
1 parent 66d31d8 commit bc46deb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -o nounset
set -o errexit
set -o pipefail

version=$(./bump_version.sh show)

git tag "v$version" && git push --tags

0 comments on commit bc46deb

Please sign in to comment.