Skip to content

Commit

Permalink
Add version number to MSI artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
printfn committed Dec 27, 2023
1 parent 64e2622 commit 39aa16d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'windows-latest' }}
with:
name: fend-windows-x64-msix
name: fend-${{ env.FEND_VERSION }}-windows-x64-msix
path: windows-msix/fend-windows-x64.msix
if-no-files-found: error

Expand All @@ -242,7 +242,7 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ matrix.platform == 'windows-latest' }}
with:
name: fend-windows-x64-msi
name: fend-${{ env.FEND_VERSION }}-windows-x64-msi
path: windows-wix/build/fend-windows-x64.msi
if-no-files-found: error

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
> (5 volts) / (2 ohms)
2.5 amperes
```
- Rename Windows installer artifacts (MSI files) to also include the version
number, e.g. `fend-1.4.0-windows-x64.msi`.
- Replace `nanorand` dependency with `rand`, which is better supported and
fixes compilation errors on FreeBSD.

### v1.3.3 (2023-12-08)

Expand Down
6 changes: 3 additions & 3 deletions contrib/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ zip --junk-paths "$TMPDIR/artifacts/fend-$NEW_VERSION-macos-x64.zip" \
"$TMPDIR/artifacts/fend-$NEW_VERSION-macos-x64/fend"
zip --junk-paths "$TMPDIR/artifacts/fend-$NEW_VERSION-windows-x64-exe.zip" \
"$TMPDIR/artifacts/fend-$NEW_VERSION-windows-x64-exe/fend.exe"
cp "$TMPDIR/artifacts/fend-windows-x64-msi/fend-windows-x64.msi" \
"$TMPDIR/artifacts/fend-windows-x64.msi"
cp "$TMPDIR/artifacts/fend-$NEW_VERSION-windows-x64-msi/fend-windows-x64.msi" \
"$TMPDIR/artifacts/fend-$NEW_VERSION-windows-x64.msi"
cp "$TMPDIR/artifacts/man-page/fend.1" \
"$TMPDIR/artifacts/fend.1"

Expand All @@ -243,7 +243,7 @@ gh release --repo printfn/fend \
"$TMPDIR/artifacts/fend-$NEW_VERSION-macos-aarch64.zip" \
"$TMPDIR/artifacts/fend-$NEW_VERSION-macos-x64.zip" \
"$TMPDIR/artifacts/fend-$NEW_VERSION-windows-x64-exe.zip" \
"$TMPDIR/artifacts/fend-windows-x64.msi" \
"$TMPDIR/artifacts/fend-$NEW_VERSION-windows-x64.msi" \
"$TMPDIR/artifacts/fend.1"

manualstep "Open https://github.com/printfn/fend/releases and check \
Expand Down
4 changes: 2 additions & 2 deletions documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ If you want to install the fend command-line application, you have the following

### Windows

On Windows, you can install fend with a standard Windows installer package,
which you can download [here](https://github.com/printfn/fend/releases/latest/download/fend-windows-x64.msi).
On Windows, you can install fend with a standard Windows installer package (MSI),
which you can download [here](https://github.com/printfn/fend/releases/latest).

Alternatively you can install fend via
[`winget`](https://docs.microsoft.com/en-us/windows/package-manager/winget/):
Expand Down

0 comments on commit 39aa16d

Please sign in to comment.