Skip to content

Commit

Permalink
feat: update versions in action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shurtu-gal committed Jan 9, 2024
1 parent 0ae75f8 commit 441ee14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/if-nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
run: npm install --save-dev conventional-changelog-conventionalcommits@5.0.0
- if: steps.packagejson.outputs.exists == 'true'
name: Add plugin for executing normal commands
run: npm install --save-dev @semantic-release/exec
run: npm install --save-dev @semantic-release/exec @semantic-release/git
- if: steps.packagejson.outputs.exists == 'true'
name: Publish to any of NPM, Github, and Docker Hub
id: release
Expand Down
8 changes: 6 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ plugins:
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
- - "@semantic-release/exec"
- prepareCmd: sed "s/docker:\/\/asyncapi\/github-action-for-cli:.*/docker:\/\/asyncapi\/github-action-for-cli:${nextRelease.version}'/g" action.yml > action.yml.tmp && mv action.yml.tmp action.yml
- "@semantic-release/github"
- prepareCmd: "VERSION=${nextRelease.version} npm run bump:version"
- - "@semantic-release/git"
- assets:
- "action.yml"
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
- "@semantic-release/github"

0 comments on commit 441ee14

Please sign in to comment.