#! /bin/bash

# tag with version from VERSION
git tag $(cat VERSION)

# push to origin
git push origin master --tag

#! /bin/bash

# delete local "latest" tag
git tag -d latest

# delete remote "latest" tag
git push origin :refs/tags/latest

# tag current commit with "latest"
git tag latest

# tag with version from VERSION
git tag $(cat VERSION)

# push to origin
git push origin master --tag

Tag current commit as latest during releaes
Tag current commit as latest during releaes

This allows for the "latest" tag on the Docker hub to reflect the most
recently released commit.
