mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 03:23:05 +00:00
Improve release script
This commit is contained in:
parent
2bc52976c2
commit
9351301e7e
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,11 @@ set -euo pipefail
|
||||||
export SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
export SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
cd "$SCRIPT_DIR"
|
cd "$SCRIPT_DIR"
|
||||||
|
|
||||||
tag="v$*"
|
echo "git pull"
|
||||||
|
git pull
|
||||||
|
|
||||||
|
version="$(grep VERSION "${SCRIPT_DIR}/navi" | grep -Eo '[0-9\.]+')"
|
||||||
|
tag="v${version}"
|
||||||
tar="https://github.com/denisidoro/navi/archive/v${tag}.tar.gz"
|
tar="https://github.com/denisidoro/navi/archive/v${tag}.tar.gz"
|
||||||
formula="/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/navi.rb"
|
formula="/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/navi.rb"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue