Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
haoqu.ma
/
gotty
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 91be466d
authored
Aug 08, 2017
by
Iwasaki Yudai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release with commit ID
So that release branch can push assets with a proper commit ID.
1 parent
b181c6ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
Makefile
wercker.yml
Makefile
View file @
91be466
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
wercker.yml
View file @
91be466
...
@@ -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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment