Skip to content

Commit

Permalink
fix: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
SunBK201 committed May 8, 2022
1 parent c421325 commit 14ed01d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
run: make
- run: tar czf release.tar.gz umicat conf systemd docs LICENSE README.md

- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Release
id: create_release
uses: actions/create-release@master
Expand All @@ -34,5 +38,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release.tar.gz
asset_name: umicat-release-${{ github.ref }}.tar.gz
asset_name: umicat-release-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_content_type: application/gzip

0 comments on commit 14ed01d

Please sign in to comment.