navi/scripts/tag
2020-03-16 10:17:53 -03:00

12 lines
305 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
source "${NAVI_HOME}/scripts/install"
version="${1:-$(version_from_toml)}"
echo "version: $version..."
sleep 2
git tag -a "v${version}" -m 'WIP version written in Rust. Use 1.0.0 instead'
git push origin --tags