ci/cd - fix linux package name for staging

This commit is contained in:
florian 2023-08-15 13:17:01 +02:00
parent 1a57e0a202
commit a5e50d0f74
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@ jobs:
continue-on-error: true
env:
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
# Update name
- name: Rename package
if: inputs.BW_VERSION == 'testing'
run: sudo apt install -y rename && rename 's/[0-9]\.[0-9]\.[0-9]/testing/' /tmp/${{ inputs.LINUX }}/*.${{ inputs.PACKAGE }}
# Push package
- name: Push package to packagecloud
uses: danielmundi/upload-packagecloud@v1