-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel-release and release via github actions (#297)
* devel-release and release via github actions * junk paths during packaging * 1.17.6 * diff naming * clean up tests * cleanup consolidated test * store pointer to AppPool * remove test that was erroneously trying to boot puma under the hood
- Loading branch information
1 parent
ff4e254
commit 3643bbb
Showing
6 changed files
with
92 additions
and
94 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,37 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
release: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.17.6 | ||
|
||
- run: go install github.com/mitchellh/gox@v1.0.2-0.20210311182516-8c3b2b9e647d | ||
- run: echo $(go env GOPATH)/bin >> $GITHUB_PATH | ||
|
||
- name: get release version | ||
id: get_version | ||
run: echo ::set-output name=RELEASE_VERSION::${GITHUB_REF#refs/tags/v} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- run: make release | ||
env: | ||
RELEASE: ${{ steps.get_version.outputs.RELEASE_VERSION }} | ||
|
||
- uses: ncipollo/release-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
artifacts: "pkg/*" | ||
allowUpdates: true | ||
omitBody: true | ||
prerelease: true | ||
removeArtifacts: true |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/bin/ | ||
/pkg/ | ||
/rel/ | ||
/vendor/pkg/ | ||
/tmp | ||
/coverage*.out | ||
|
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
This file was deleted.
Oops, something went wrong.