Fix tr command in Actions

This commit is contained in:
Neshura 2023-12-28 23:21:10 +01:00
parent c88c4d9baf
commit f0f4b16b2d
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -67,7 +67,7 @@ jobs:
name: Bundle .deb package
run: |
cargo deb
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - ~)
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - \~)
mv target/debian/${{ github.event.repository.name }}_$DEBIAN_REF-1_amd64.deb ${{ github.event.repository.name }}_$DEBIAN_REF-1_amd64.deb
-
name: Uploading Build Artifact
@ -99,7 +99,7 @@ jobs:
-
name: Upload Debian Package
run: |
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - ~)
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - \~)
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release_blobs/${{ github.event.repository.name }}_$DEBIAN_REF-1_amd64.deb \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/bookworm/main/upload'