File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
26
26
version = parse(tag_name)
27
27
print(f"tag_name: {tag_name}")
28
28
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:
35
30
print("No tags created (dev or pre version)!")
31
+ exit(0)
36
32
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}")
37
37
- name : Push Tags Version
38
38
if : steps.get_versions.outputs.original_tag_name != ''
39
39
env :
You can’t perform that action at this time.
0 commit comments