Skip to content

Commit 5fa7f55

Browse files
committed
simplify content of releases
1 parent ada4c27 commit 5fa7f55

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ jobs:
8383
- name: "compress unix: ${{ matrix.config.name }}"
8484
if: matrix.config.profile == 'unix'
8585
run: |
86-
tar -czvf ${{ matrix.config.name }}.tar.gz target/native-image/mobdap*
86+
mv target/native-image/mobdap-* mobdap
87+
tar -czvf ${{ matrix.config.name }}.tar.gz mobdap
8788
8889
- name: "upload unix: ${{ matrix.config.name }}"
8990
if: matrix.config.profile == 'unix'
@@ -94,7 +95,8 @@ jobs:
9495
- name: "compress windows: ${{ matrix.config.name }}"
9596
if: matrix.config.profile == 'windows'
9697
run: |
97-
Compress-Archive -Path target/native-image/mobdap* -Destination ${{ matrix.config.name }}.zip
98+
Move-Item -Path target/native-image/mobdap-*.exe -Destination mobdap.exe
99+
Compress-Archive -Path mobdap.exe -Destination ${{ matrix.config.name }}.zip
98100
99101
- name: "upload windows: ${{ matrix.config.name }}"
100102
if: matrix.config.profile == 'windows'

0 commit comments

Comments
 (0)