navi/scripts/tag
Denis Isidoro ed0759f9e3
Fix multiline behavior in the bash widget (#308)
Fixes #306 

This only happens when using the bash widget
2020-03-24 08:38:42 -03:00

12 lines
253 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}"
git push origin --tags