Workaround for ref being different in production
Former-commit-id: f5c2e28065
This commit is contained in:
parent
728bf653cc
commit
acbadc83fc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user