diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index a811b6b..b7919ca 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -88,7 +88,7 @@ jobs: - name: Package artifacts run: | - VERSION="${{ needs.release-please.outputs.tag_name || github.ref_name || inputs.tag_name }}" + VERSION="${{ inputs.tag_name || needs.release-please.outputs.tag_name || github.ref_name }}" VERSION="${VERSION#v}" cd artifacts zip -r "Panzerfaust-${VERSION}-Windows-x64.zip" Windows-x64-Release/ @@ -98,7 +98,7 @@ jobs: - name: Upload to GitHub Release uses: softprops/action-gh-release@v2 with: - tag_name: ${{ needs.release-please.outputs.tag_name || github.ref_name || inputs.tag_name }} + tag_name: ${{ inputs.tag_name || needs.release-please.outputs.tag_name || github.ref_name }} files: | artifacts/Panzerfaust-*-Windows-x64.zip artifacts/Panzerfaust-*-macOS-arm64.zip