silverbullet/scripts/release.sh

9 lines
191 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
cd desktop; npm version $VERSION; cd ..
git commit -am $VERSION
git tag $VERSION
git push && git push --tags