Skip to content

Commit de87608

Browse files
committed
Add Package step to release workflow
1 parent 9b56090 commit de87608

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,19 @@ jobs:
3333
run: |
3434
strip "target/${{ matrix.job.target }}/release/stackmuncher"
3535
36+
- name: Package
37+
shell: bash
38+
run: |
39+
if [ "${{ matrix.job.os }}" = "windows-latest" ]; then
40+
cp "target/${{ matrix.job.target }}/release/stackmuncher.exe" stackmuncher-${{ matrix.job.target }}.exe
41+
else
42+
cp "target/${{ matrix.job.target }}/release/stackmuncher" stackmuncher-${{ matrix.job.target }}
43+
fi
44+
3645
- name: Publish
3746
uses: softprops/action-gh-release@v1
3847
with:
39-
files: 'stackmuncher*'
48+
files: 'stackmuncher-*'
4049
draft: true
4150
env:
4251
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)