Skip to content

Commit 559b42f

Browse files
committed
fix: release pipeline tags condition
1 parent 9d866e5 commit 559b42f

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ jobs:
106106
run: cd build/bin && zip -r safelock-${{ matrix.build.tag }}.zip Safelock.app
107107

108108
- name: Compress windows binary
109-
if: runner.os == 'Windows' && matrix.build.tag == 'windows-amd64'
109+
if: runner.os == 'Windows' && startsWith(matrix.build.tag, 'windows-a')
110110
run: Compress-Archive Safelock-${{ matrix.build.arch }}-installer.exe safelock-${{ matrix.build.tag }}.zip
111111
working-directory: .\build\bin
112112

113113
- name: Compress windows binary (Portable)
114-
if: runner.os == 'Windows' && matrix.build.tag == 'windows-portable-amd64'
114+
if: runner.os == 'Windows' && startsWith(matrix.build.tag, 'windows-portable')
115115
run: Compress-Archive safelock.exe safelock-${{ matrix.build.tag }}.zip
116116
working-directory: .\build\bin
117117

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,12 @@
2222
<details>
2323
<summary><h5>Linux</h5></summary>
2424

25-
- With `amd64` binary
25+
- With binaries
2626

2727
```bash
2828
wget -qO- https://github.com/mrf345/safelock/releases/latest/download/safelock-linux-amd64.tar.gz | tar xvz -C ~ && ~/safelock
2929
```
3030

31-
- With `arm64` binary
32-
33-
```bash
34-
wget -qO- https://github.com/mrf345/safelock/releases/latest/download/safelock-linux-arm64.tar.gz | tar xvz -C ~ && ~/safelock
35-
```
36-
3731
- Or from the source code
3832

3933
Make sure you have [go](https://go.dev/doc/install), [npm](https://nodejs.org/en/download/package-manager) and [git](https://git-scm.com/downloads) are installed, then run:
@@ -48,7 +42,7 @@
4842
<details>
4943
<summary><h5>Windows</h5></summary>
5044

51-
Download, extract and install [this](https://github.com/mrf345/safelock/releases/latest/download/safelock-windows-amd64.zip) or run [this portable version](https://github.com/mrf345/safelock/releases/latest/download/safelock-windows-portable-amd64.zip).
45+
Download, extract and install [this](https://github.com/mrf345/safelock/releases/latest/download/safelock-windows-amd64.zip) or [this](https://github.com/mrf345/safelock/releases/latest/download/safelock-windows-arm64.zip) for `arm64` processors. If you want a portable version download [this](https://github.com/mrf345/safelock/releases/latest/download/safelock-windows-portable-amd64.zip) or [this](https://github.com/mrf345/safelock/releases/latest/download/safelock-windows-portable-arm64.zip) for `arm64`.
5246

5347
</details>
5448
<details>

0 commit comments

Comments
 (0)