-
Notifications
You must be signed in to change notification settings - Fork 16
/
.version.sh
22 lines (20 loc) · 867 Bytes
/
.version.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PREBUMP=
666 git fetch --tags origin master
666 git pull origin master
PREVERSION=
philea -s "666 go vet %s" "666 go-fmt-fail %s"
666 go run main.go -v
666 changelog finalize --version !newversion!
666 commit -q -m "changelog: !newversion!" -f change.log
666 emd gen -in README.e.md -out README.md
666 commit -q -m "README: !newversion!" -f README.md
666 emd gen -in go-bin-deb-utils/README.e.md -out go-bin-deb-utils/README.md
666 commit -q -m "README: !newversion!" -f go-bin-deb-utils/README.md
666 changelog md -o CHANGELOG.md --vars='{"name":"go-bin-deb"}'
666 commit -q -m "changelog: !newversion!" -f CHANGELOG.md
POSTVERSION=
666 git push
666 git push --tags
666 gh-api-cli create-release -n release -o mh-cbon -r go-bin-deb \
--ver !newversion! -c "changelog ghrelease --version !newversion!" \
--draft !isprerelease!