strand/release.sh

8 lines
155 B
Bash
Executable file

#!/bin/bash
git switch main
git stash
git tag v$(git tag | wc -l)
git push origin HEAD --tags
npm run build
scp -r dist/* strand@madr.se:www
git stash pop