navi/scripts/tag

13 lines
258 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)}"
2021-04-19 12:54:35 +00:00
log::note "version: $version..."
2020-03-16 11:43:32 +00:00
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