about summary refs log tree commit diff
path: root/scripts/deploy.sh
blob: 82919c6294ab5466e008d068cd16e0b709483976 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

git diff --exit-code
git diff --staged --exit-code

VERSION=$(flyctl info -j |jq -r '.App | "fcuny.net/v\(.Version)"')

git tag -a --message ${VERSION} ${VERSION}
git push origin --all
git push origin --tags