diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 08e63bb..c86713c 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -41,5 +41,6 @@ jobs: with: tag_name: ${{ steps.build-info.outputs.build-tag }} # 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