mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-25 04:20:22 +00:00
remove .exe from release (#144)
This commit is contained in:
parent
ccfc3b0d6e
commit
2a8f576d45
3 changed files with 10 additions and 4 deletions
7
.github/workflows/deployment.yaml
vendored
7
.github/workflows/deployment.yaml
vendored
|
@ -50,10 +50,11 @@ jobs:
|
|||
with:
|
||||
command: build
|
||||
args: --release
|
||||
- name: Rename executable
|
||||
- name: Compress executable (unix)
|
||||
if: matrix.os_name == 'linux' || matrix.os_name == 'macos'
|
||||
run: mv target/release/himalaya target/release/himalaya.exe
|
||||
- name: Compress executable
|
||||
run: tar czf himalaya.tar.gz -C target/release himalaya
|
||||
- name: Compress executable (windows)
|
||||
if: matrix.os_name == 'windows'
|
||||
run: tar czf himalaya.tar.gz -C target/release himalaya.exe
|
||||
- name: Upload release asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
|
|
|
@ -20,6 +20,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- `notify`: Runs `notify-cmd` when a new message arrives to the server
|
||||
- `watch`: Runs `watch-cmds` when any change occurs on the server
|
||||
|
||||
### Removed
|
||||
|
||||
- `.exe` extension from release binaries [#144]
|
||||
|
||||
## [0.3.1] - 2021-05-04
|
||||
|
||||
### Added
|
||||
|
@ -259,3 +263,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
[#136]: https://github.com/soywod/himalaya/issues/136
|
||||
[#138]: https://github.com/soywod/himalaya/issues/138
|
||||
[#141]: https://github.com/soywod/himalaya/issues/141
|
||||
[#144]: https://github.com/soywod/himalaya/issues/144
|
||||
|
|
|
@ -31,6 +31,6 @@ echo "Installing binary…"
|
|||
tar -xzf "$tmpdir/himalaya.tar.gz" -C "$tmpdir"
|
||||
|
||||
mkdir -p "$PREFIX/bin"
|
||||
cp -f -- "$tmpdir/himalaya.exe" "$PREFIX/bin/himalaya"
|
||||
cp -f -- "$tmpdir/himalaya*" "$PREFIX/bin/"
|
||||
|
||||
die "$("$PREFIX/bin/himalaya" --version) installed!" 0
|
||||
|
|
Loading…
Reference in a new issue