Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoBCD committed Jan 27, 2025
1 parent 741a597 commit 2f6ca0b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,15 @@ jobs:
- name: Build .deb package
run: make

- name: Rename .deb with version tag (no 'v')
run: |
VERSION=${GITHUB_REF#refs/tags/v} # Extract the version without the 'v' prefix
mv pypltagent.noarch.deb pypltagent-${VERSION}.noarch.deb
- name: Release
uses: softprops/action-gh-release@v2
with:
files: pypltagent.noarch.deb
files: pypltagent-${{ github.ref_name#refs/tags/v }}.noarch.deb
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
body: "Release for version ${{ github.ref_name }}"
Expand Down

0 comments on commit 2f6ca0b

Please sign in to comment.