Skip to content

Commit

Permalink
Unnest outpust creation
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
  • Loading branch information
s-weigand and webknjaz authored Nov 6, 2020
1 parent 5baaafc commit 8d6be06
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-major-minor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
print(f"tag_name: {tag_name}")
print(f"version: {version}")
if not version.is_prerelease:
print("Creating new major and minor tags!")
print(f"::set-output name=original_tag_name::{tag_name}")
print(f"::set-output name=major_version::v{version.major}")
print(f"::set-output name=minor_version::v{version.major}.{version.minor}")
else:
print("No tags created (dev or pre version)!")
return
print("Creating new major and minor tags!")
print(f"::set-output name=original_tag_name::{tag_name}")
print(f"::set-output name=major_version::v{version.major}")
print(f"::set-output name=minor_version::v{version.major}.{version.minor}")
- name: Push Tags Version
if: steps.get_versions.outputs.original_tag_name != ''
env:
Expand Down

0 comments on commit 8d6be06

Please sign in to comment.