blob: 4c6851c3ea7da324e6810dec2289e2857d4550f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env bash
set -ueo pipefail
cd $(git rev-parse --show-toplevel)
git diff --exit-code
git diff --staged --exit-code
cd users/fcuny/notes
flyctl deploy
VERSION=$(flyctl info -j |jq -r '.App | "notes.fcuny.net/v\(.Version)"')
git tag -a --message ${VERSION} ${VERSION}
git push origin --all
git push origin --tags
flyctl agent stop
|