diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index c39ee57..7a3629b 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -19,10 +19,12 @@ jobs: - name: Check if Version in Cargo.toml matches Tag run: | - VERSION=$(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d=) - if test $VERSION != "${{ github.ref_name }}" - echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'" - end + VERSION=$(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ") + if test $VERSION != "${{ github.ref_name }}"; then + echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'"; + else + echo "Version is: '$VERSION'"; + fi build-linux: needs: test @@ -81,7 +83,10 @@ jobs: - name: Storing Debian Version for Upload Job id: store_deb_ver - run: echo $VERSION_CODENAME >> $GITHUB_OUTPUT + run: | + env -i bash -c '. /etc/os-release; echo $VERSION_CODENAME' + echo Debian Version is: $VERSION_CODENAME + echo $VERSION_CODENAME >> $GITHUB_OUTPUT - name: Uploading Linux AppImage Artifact uses: actions/upload-artifact@v3