Skip to content

Commit

Permalink
chore: Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wurstbrot authored Nov 7, 2023
1 parent 3de1ccf commit b30e8cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get Semantic Release Version
id: get-version
run: echo "::set-output name=version::$(sed -n '1p' CHANGELOG.md | awk '{print $NF}')"

run: |
npx semantic-release --dry-run
echo "::set-output name=version::${{ steps.get-version.outputs.version }}"
- name: show version
run: |
echo "Semantic Release Version: ${{ steps.get-version.outputs.version }}"
Expand Down

0 comments on commit b30e8cb

Please sign in to comment.