Skip to content

Commit

Permalink
fix: change code 7
Browse files Browse the repository at this point in the history
  • Loading branch information
popovevgen committed Dec 27, 2023
1 parent 702de55 commit 1ab7024
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ jobs:
}
EOF
- run: npx semantic-release --dry-run
id: get-next-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Read version
run: |
echo "published: ${{ steps.get-next-version.outputs.new-release-published }}"
echo "new-release-version: ${{ steps.get-next-version.outputs.new-release-version }}"
- name: Determine the New Version Number
run: |
NEW_VERSION=$(npx semantic-release --dry-run | grep 'next release version is' | sed 's/.*is //')
Expand Down

0 comments on commit 1ab7024

Please sign in to comment.