summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-11-07 18:26:13 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-11-07 18:26:36 +0100
commit204f950704142df58fca2e31f4d4dfd9cf24266a (patch)
tree4cb389e76b1b3775adc6254c186bd37367b548f3
parent016ca3d8e0150c5d637fe05e9672cd3406ace0b7 (diff)
downloadpatchelf-204f950704142df58fca2e31f4d4dfd9cf24266a.tar.gz
put version name in built exe files
-rw-r--r--.github/workflows/publish.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 704b35e..46d9bb6 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -35,8 +35,8 @@ jobs:
- name: Build windows executable
run: |
nix build -L .#patchelf-win32 .#patchelf-win64
- install -D ./result/bin/patchelf.exe ./dist/patchelf-win32.exe
- install -D ./result-1/bin/patchelf.exe ./dist/patchelf-win64.exe
+ install -D ./result/bin/patchelf.exe ./dist/patchelf-win32-$(cat version).exe
+ install -D ./result-1/bin/patchelf.exe ./dist/patchelf-win64-$(cat version).exe
- uses: actions/upload-artifact@v3
with:
name: patchelf
@@ -55,10 +55,10 @@ jobs:
- name: Show binaries
run: dir .\\dist
- name: Test windows 64-bit binary
- run: .\\dist\\patchelf-win32.exe --version
+ run: .\\dist\\patchelf-win32-*.exe --version
- name: Test windows 32-bit binary
- run: .\\dist\\patchelf-win64.exe --version
+ run: .\\dist\\patchelf-win64-*.exe --version
build_musl:
name: Build static musl binaries