-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Preparing for release v0.1.1 - Added binary release workflow. - Bumped version. - Upd changelog. * Added lock file. Removed changelog from release workflow * Specified archive format. Removed windows * Added zip back. Added archive comment * Removed workspace .lock file from .gitignore * Updated GH release template to mention lock file * Added the binary name explicitly in relayer-cli manifest
- Loading branch information
Showing
11 changed files
with
3,132 additions
and
35 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,54 @@ | ||
# Uploads Hermes binary. | ||
# Ref: https://github.com/marketplace/actions/build-and-upload-rust-binary-to-github-releases | ||
|
||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.* | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: taiki-e/create-gh-release-action@v1 | ||
env: | ||
# (required) | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
upload-assets: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: taiki-e/upload-rust-binary-action@v1 | ||
with: | ||
# (required) | ||
bin: hermes | ||
# (optional) On which platform to distribute the `.tar.gz` file. | ||
# [default value: unix] | ||
# [possible values: all, unix, windows, none] | ||
tar: unix | ||
# (optional) On which platform to distribute the `.zip` file. | ||
# [default value: windows] | ||
# [possible values: all, unix, windows, none] | ||
zip: unix | ||
# (optional) Archive name (non-extension portion of filename) to be uploaded. | ||
# [default value: $bin-$target] | ||
# [possible values: the following variables and any string] | ||
# variables: | ||
# - $bin - Binary name (non-extension portion of filename). | ||
# - $target - Target triple. | ||
# - $tag - Tag of this release. | ||
archive: $bin-$tag-$target | ||
env: | ||
# (required) | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# (optional) | ||
CARGO_PROFILE_RELEASE_LTO: 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
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
Oops, something went wrong.