Workaround for ref being different in production

Former-commit-id: f5c2e28065
This commit is contained in:
David Boreham 2023-04-10 11:43:04 -06:00
parent 728bf653cc
commit acbadc83fc

View File

@ -41,5 +41,6 @@ jobs:
with: with:
tag_name: ${{ steps.build-info.outputs.build-tag }} tag_name: ${{ steps.build-info.outputs.build-tag }}
# On the publish test branch, mark our release as a draft # On the publish test branch, mark our release as a draft
draft: ${{ github.ref == 'refs/heads/publish-test' }} # Hack using endsWith to workaround Gitea sometimes sending "publish-test" vs "refs/heads/publish-test"
draft: ${{ endsWith('publish-test', github.ref ) }}
files: ./laconic-so files: ./laconic-so