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 2f6ca0b commit 383f98c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@ jobs:

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

0 comments on commit 383f98c

Please sign in to comment.