Fix tr command in Actions
This commit is contained in:
parent
c88c4d9baf
commit
f0f4b16b2d
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue