silverbullet/scripts/release.sh

9 lines
191 B
Bash
Executable File

#!/bin/bash -e
VERSION=$1
echo "export const version = '$VERSION';" > version.ts
cd desktop; npm version $VERSION; cd ..
git commit -am $VERSION
git tag $VERSION
git push && git push --tags