Skip to content

Commit

Permalink
Merge pull request #31 from geertmeersman/dev-current
Browse files Browse the repository at this point in the history
docs: add version to zipfile name
  • Loading branch information
geertmeersman authored May 16, 2024
2 parents e5bb613 + ad94dd2 commit 702f4cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bump_version_and_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@ jobs:
run: |
cd config
echo $tag_name > VERSION
zip -r "${{ github.event.repository.name }}.zip" .
mv "${{ github.event.repository.name }}.zip" ..
zip -r "${{ github.event.repository.name }} ${{ steps.release_drafter.outputs.tag_name }}.zip" .
mv "${{ github.event.repository.name }} ${{ steps.release_drafter.outputs.tag_name }}.zip" ..
- name: 📎 Upload zip file to release
uses: actions/upload-artifact@v4
with:
name: release-artifact
path: "${{ github.event.repository.name }}.zip"
path: "${{ github.event.repository.name }} ${{ steps.release_drafter.outputs.tag_name }}.zip"

- name: 📝 Update release with zip file
run: |
gh release upload ${{ steps.release_drafter.outputs.tag_name }} "${{ github.event.repository.name }}.zip"
gh release upload ${{ steps.release_drafter.outputs.tag_name }} "${{ github.event.repository.name }} ${{ steps.release_drafter.outputs.tag_name }}.zip"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 702f4cf

Please sign in to comment.