yet another fix for the github actions

github.ref_name isn't 'master' when a tag is pushed, but the tag name,
so it won't trigger a release build when a 'v*' tag is pushed
This commit is contained in:
Marco Antonio J. Costa
2025-01-07 13:19:03 -03:00
committed by majcosta
parent 8897769f0d
commit 552951795c
+1 -2
View File
@@ -38,10 +38,9 @@ jobs:
all_languages="${{ inputs.build_all_languages }}"
assemble_release="${{ inputs.assemble_release }}"
repo="${{ github.repository }}"
refname="${{ github.ref_name }}"
is_tag="${{ startsWith(github.ref, 'refs/tags/v') }}"
if [ "$assemble_release" = "true" ] || { [ "$repo" = "1dot13/source" ] && [ "$refname" = "master" ] && [ "$is_tag" = "true" ]; }
if [ "$assemble_release" = "true" ] || { [ "$repo" = "1dot13/source" ] && [ "$is_tag" = "true" ]; }
then
full_release="true"
else