From f0f4b16b2d5d61ead17a38b2b38d53dfe9ad922d Mon Sep 17 00:00:00 2001 From: Neshura Date: Thu, 28 Dec 2023 23:21:10 +0100 Subject: [PATCH] Fix tr command in Actions --- .forgejo/workflows/build+release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index c1e227a..6755c1d 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -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'