Commit 91be466d by Iwasaki Yudai

Release with commit ID

So that release branch can push assets with a proper commit ID.
1 parent b181c6ba
Showing with 3 additions and 2 deletions
OUTPUT_DIR = ./builds OUTPUT_DIR = ./builds
GIT_COMMIT = `git rev-parse HEAD`
gotty: app/resource.go main.go app/*.go gotty: app/resource.go main.go app/*.go
godep go build godep go build
...@@ -51,4 +52,4 @@ shasums: ...@@ -51,4 +52,4 @@ shasums:
cd ${OUTPUT_DIR}/dist; sha256sum * > ./SHA256SUMS cd ${OUTPUT_DIR}/dist; sha256sum * > ./SHA256SUMS
release: 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
...@@ -29,4 +29,4 @@ deploy: ...@@ -29,4 +29,4 @@ deploy:
code: make shasums OUTPUT_DIR=. code: make shasums OUTPUT_DIR=.
- script: - script:
name: release name: release
code: make release OUTPUT_DIR=. code: make release OUTPUT_DIR=. GIT_COMMIT=$WERCKER_GIT_COMMIT
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!