-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41deb4c
commit 05396f6
Showing
5 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -eu -o pipefail | ||
|
||
DATE=$(date "+%y%m%d-%H%M%S") | ||
|
||
# RELEASE_TYPE="" | ||
# RELEASE_TYPE="--draft" | ||
RELEASE_TYPE="--prerelease" | ||
|
||
# prepare release.md text file | ||
erb date=$DATE $0.md.erb > tmp/release.md | ||
|
||
hub release create $RELEASE_TYPE \ | ||
--attach "bin/envy.x86_64-pc-linux-gnu.bin#linux binary" \ | ||
--attach "bin/envy.x86_64-apple-darwin18.bin#macos binary" \ | ||
--file tmp/release.md \ | ||
--edit \ | ||
--commitish purpose/add-go \ | ||
releases/$DATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<%= "Prerelease #{date}" %> | ||
|
||
This is a prerelease. Handle with care! | ||
|
||
To use it either: | ||
|
||
- download the binary for your platform and rename it to "envy", or | ||
- download the source and run `make install`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -eu -o pipefail | ||
|
||
DATE=$(date "+%y%m%d-%H%M%S") | ||
|
||
# RELEASE_TYPE="" | ||
# RELEASE_TYPE="--draft" | ||
RELEASE_TYPE="--prerelease" | ||
|
||
# prepare release.md text file | ||
erb date=$DATE $0.md.erb > tmp/release.md | ||
|
||
hub release create $RELEASE_TYPE \ | ||
--attach "bin/envy.x86_64-pc-linux-gnu.bin#linux binary" \ | ||
--attach "bin/envy.x86_64-apple-darwin18.bin#macos binary" \ | ||
--file tmp/release.md \ | ||
--edit \ | ||
--commitish purpose/add-go \ | ||
releases/$DATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<%= "Release #{date}" %> | ||
|
||
This is a release. To use it either: | ||
|
||
- download the binary for your platform and rename it to "envy", or | ||
- download the source and run `make install`. |