silverbullet/scripts/release.sh

8 lines
151 B
Bash
Raw Permalink Normal View History

2023-01-05 22:31:10 +08:00
#!/bin/bash -e
VERSION=$1
echo "export const version = '$VERSION';" > version.ts
2023-01-05 22:31:10 +08:00
git commit -am $VERSION
git tag $VERSION
git push && git push --tags