-
Notifications
You must be signed in to change notification settings - Fork 0
/
glide.yaml
20 lines (20 loc) · 872 Bytes
/
glide.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package: github.com/mh-cbon/philea
scripts:
prebump: 666 git fetch --tags origin master && 666 git pull origin master
preversion: |
philea "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
postversion: |
666 changelog md -o CHANGELOG.md --vars='{"name":"philea"}' \
&& 666 commit -q -m "changelog: !newversion!" -f CHANGELOG.md \
&& 666 git push && 666 git push --tags \
&& 666 gh-api-cli create-release -n release -o mh-cbon -r philea \
--ver !newversion! -c "changelog ghrelease --version !newversion!" \
--draft !isprerelease! \
&& 666 go install --ldflags "-X main.VERSION=!newversion!"
import:
- package: github.com/docopt/docopt.go
version: ^0.6.2
- package: github.com/mattn/go-zglob