Skip to content

Commit f58605f

Browse files
committed
Fix deployment on tag
1 parent a348a12 commit f58605f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/deploy.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ def get_tag(ci):
127127
CI_PRETTY_NAME = pretty_ci_name(CURRENT_CI)
128128
logger.info("CI: %s", CI_PRETTY_NAME)
129129

130-
ALLOWED_BRANCHES = {"master", "deploy", "devel", "enhancement/pe-authenticode"}
130+
ALLOWED_BRANCHES = {"master", "deploy", "devel"}
131131
BRANCH_NAME = get_branch(CURRENT_CI)
132132
TAG_NAME = get_tag(CURRENT_CI)
133133
IS_TAGGED = len(TAG_NAME) > 0
134134
logger.info("Branch: %s", BRANCH_NAME)
135135
logger.info("Tag: %s", TAG_NAME)
136-
if BRANCH_NAME not in ALLOWED_BRANCHES:
136+
if BRANCH_NAME not in ALLOWED_BRANCHES and not IS_TAGGED:
137137
logger.info("Skip deployment for branch '%s'", BRANCH_NAME)
138138
sys.exit(0)
139139

0 commit comments

Comments
 (0)