Run git tag in dev

This commit is contained in:
andrewc
2023-10-24 17:48:02 +10:00
parent 1df56d6acd
commit 9731f35f57

View File

@@ -103,6 +103,7 @@ image:
git_tag: git_tag:
- | - |
if [[ $GITLAB_CI == 'true' && $CI_COMMIT_BRANCH == "main" ]]; then if [[ $GITLAB_CI == 'true' && $CI_COMMIT_BRANCH == "main" ]]; then
echo "running git tag"
git tag $CI_COMMIT_MESSAGE git tag $CI_COMMIT_MESSAGE
fi fi
@@ -178,6 +179,7 @@ outputs_dev:
SUFF_SCH: run_drc print_sch SUFF_SCH: run_drc print_sch
SUFF_PCB: run_erc,update_xml,set_text_variables print_pcb SUFF_PCB: run_erc,update_xml,set_text_variables print_pcb
script: script:
- !reference [.commands, git_tag]
- SUFFIX=$SUFF_SCH - SUFFIX=$SUFF_SCH
- !reference [.commands, kibot] - !reference [.commands, kibot]
- SUFFIX=$SUFF_PCB - SUFFIX=$SUFF_PCB