navi/scripts/tag

13 lines
253 B
Text
Raw Normal View History

2020-03-04 21:01:23 +00:00
#!/usr/bin/env bash
set -euo pipefail
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
2020-03-16 11:43:32 +00:00
source "${NAVI_HOME}/scripts/install"
2020-03-04 21:01:23 +00:00
2020-03-16 11:43:32 +00:00
version="${1:-$(version_from_toml)}"
echo "version: $version..."
sleep 2
2020-03-04 21:01:23 +00:00
git tag -a "v${version}"
2020-03-04 21:01:23 +00:00
git push origin --tags