blob: 83f6c929711017b6aba935e051aa8b7260f3d2e1 (
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 "feat: bump version to v$VERSION"
git tag "v$VERSION"
echo "Bumped to v$VERSION"
|