File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
2626 version = parse(tag_name)
2727 print(f"tag_name: {tag_name}")
2828 print(f"version: {version}")
29- if not version.is_prerelease:
30- print("Creating new major and minor tags!")
31- print(f"::set-output name=original_tag_name::{tag_name}")
32- print(f"::set-output name=major_version::v{version.major}")
33- print(f"::set-output name=minor_version::v{version.major}.{version.minor}")
34- else:
29+ if version.is_prerelease:
3530 print("No tags created (dev or pre version)!")
31+ exit(0)
3632
33+ print("Creating new major and minor tags!")
34+ print(f"::set-output name=original_tag_name::{tag_name}")
35+ print(f"::set-output name=major_version::v{version.major}")
36+ print(f"::set-output name=minor_version::v{version.major}.{version.minor}")
3737 - name : Push Tags Version
3838 if : steps.get_versions.outputs.original_tag_name != ''
3939 env :
You can’t perform that action at this time.
0 commit comments