From a16b1cd07311a887744c8f039ef076c052118e1a Mon Sep 17 00:00:00 2001 From: David Boreham Date: Mon, 10 Apr 2023 11:50:09 -0600 Subject: [PATCH] Publish test workflow (#308) --- .gitea/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 08e63bb3..c86713ce 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