Release with commit ID
So that release branch can push assets with a proper commit ID.
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,4 +1,5 @@
|
||||
OUTPUT_DIR = ./builds
|
||||
GIT_COMMIT = `git rev-parse HEAD`
|
||||
|
||||
gotty: app/resource.go main.go app/*.go
|
||||
godep go build
|
||||
@@ -51,4 +52,4 @@ shasums:
|
||||
cd ${OUTPUT_DIR}/dist; sha256sum * > ./SHA256SUMS
|
||||
|
||||
release:
|
||||
ghr --delete --prerelease -u yudai -r gotty pre-release ${OUTPUT_DIR}/dist
|
||||
ghr -c ${GIT_COMMIT} --delete --prerelease -u yudai -r gotty pre-release ${OUTPUT_DIR}/dist
|
||||
|
||||
Reference in New Issue
Block a user