Skip to content

Commit

Permalink
Merge pull request #85 from deriv-com/niloofar/FEQ-1692/slack-notific…
Browse files Browse the repository at this point in the history
…ation

ci: extract the release version
  • Loading branch information
niloofar-deriv authored Feb 9, 2024
2 parents 1abf1ed + d918e90 commit aab7323
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ jobs:
run: npm audit signatures
- name: Dry run to get the next release version
id: tag_version
run: |
export NEXT_TAG_VERSION=$(npx semantic-release --dry-run | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')
echo "new_tag_version=${NEXT_TAG_VERSION}" >> $GITHUB_OUTPUT
run: echo "new_tag_version=$(npx semantic-release --dry-run | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')" >> $GITHUB_OUTPUT
- name: Release
if: success()
env:
Expand Down

0 comments on commit aab7323

Please sign in to comment.