Skip to content

Commit

Permalink
Fix for parsing published version (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
geofflamrock authored Sep 27, 2023
1 parent 2fb40d8 commit 72cd79f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rude-rockets-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@octopusdeploy/login": patch
---

Fix for parsing the version for major and minor tag creation
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
id: parse_version
uses: madhead/[email protected]
with:
version: ${{ steps.changesets_publish.outputs.publishedPackages[0].version }}
version: ${{ fromJSON(steps.changesets_publish.outputs.publishedPackages)[0].version }}
if: ${{ steps.changesets_publish.outputs.published }}

- name: Tag minor version
Expand Down

0 comments on commit 72cd79f

Please sign in to comment.