Skip to content

Commit

Permalink
Add proper release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lunush committed Feb 27, 2021
1 parent f024570 commit d3e3c92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ jobs:
run: |
outdir=${{ env.TARGET_DIR }}
staging="rates-${{ env.RELEASE_VERSION }}-${{ matrix.target }}"
mkdir -p "$staging"/{complete,doc}
mkdir -p "$staging"/doc
cp {README.md,LICENSE-APACHE,LICENSE-MIT} "$staging/"
if [ "${{ matrix.os }}" = "windows-2019" ]; then
cp "target/release/rates.exe" "$staging/"
7z a "$staging.zip" "$staging"
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ cargo install rates
```

### Releases
Alternatively, you can download the binary from the
Alternatively, you can download a binary for your system from the
[releases](https://github.com/lunush/rates/releases) page


## License
Apache 2.0 or MIT, at your choice.

0 comments on commit d3e3c92

Please sign in to comment.