blob: 7f2818052729f1f261b01572e89981b7aaa9539a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env bash
set -euo pipefail
VERSION="$1"
sed -i 's/"version": ".*"/"version": "'$VERSION'"/' package.json
git add package.json
git commit -m "chore: bump version to v$VERSION"
git tag "v$VERSION"
echo "Bumped to v$VERSION"
|