Skip to content

Commit

Permalink
chore(fix): workflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Feb 23, 2024
1 parent 54cdf21 commit 08ef5c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/semantic_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:

- name: Determine next release version
id: determine_version
run: npx semantic-release --dry-run --no-ci
run: |
NEXT_RELEASE_VERSION=$(npx semantic-release --no-ci --dry-run --branches=$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME --plugins=semantic-release-unsquash,@semantic-release/commit-analyzer,@semantic-release/release-notes-generator | grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+')
echo "NEXT_RELEASE_VERSION=${NEXT_RELEASE_VERSION}" >> $GITHUB_ENV
- name: Post comment on PR
uses: actions/github-script@v6
Expand Down
7 changes: 0 additions & 7 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ module.exports = {
}
],
'@semantic-release/npm',
[
'@semantic-release/exec',
{
verifyReleaseCmd:
'echo "NEXT_RELEASE_VERSION=${nextRelease.version}" >> $GITHUB_ENV'
}
],
'@semantic-release/github',
[
'@semantic-release/git',
Expand Down

0 comments on commit 08ef5c8

Please sign in to comment.