Skip to content

Commit

Permalink
fix: issue with bash command to get version
Browse files Browse the repository at this point in the history
  • Loading branch information
grinish21 committed Sep 7, 2022
1 parent bc50cd3 commit 0d21ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
- name: Get version for next release
id: getversion
run: |
echo "::set-output name=earlybird_next_version::$(npx -p @semantic-release/changelog -p @semantic-release/git -p [email protected] semantic-release --no-ci --dry-run)"
echo "::set-output name=earlybird_next_version::$(npx -p @semantic-release/changelog -p @semantic-release/git -p [email protected] semantic-release --no-ci --dry-run | grep -o 'The next release version is .*' | awk '{print $NF}')"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Print earlybird next version
run: echo " ${{ steps.getversion.outputs.earlybird_next_version }} "
run: echo ${{ steps.getversion.outputs.earlybird_next_version }}
build:
needs: get_next_version
name: Build
Expand Down

0 comments on commit 0d21ad0

Please sign in to comment.