silverbullet/scripts/release.sh

8 lines
153 B
Bash
Executable File

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