Skip to content

Commit dfaea44

Browse files
committed
ci: fix semantic-release configuration
1 parent 785c24f commit dfaea44

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"name": "helm-git",
33
"private": true,
4-
"version": "0.0.0-development",
4+
"version": "0.10.0",
55
"description": "npm tooling for helm-git Helm downloader plugin",
66
"scripts": {
77
"prepare": "husky install",
88
"test": "bats tests/*-*.bats",
99
"test:e2e": "bats tests/e2e.bats",
1010
"lint": "eclint check **/*; shellcheck 'helm-git' *.sh tests/*.bash",
11-
"bump": "npm run bump:helm-plugin && npm run bump:readme && npm run bump:npm",
12-
"bump:helm-plugin": "sed -i \"s/version: \\\".*\\\"/version: \\\"${npm_config_to}\\\"/\" plugin.yaml",
13-
"bump:readme": "sed -E -i \"s/helm-git --version .+$/helm-git --version ${npm_config_to}/\" README.md",
14-
"bump:npm": "npm version --no-git-tag-version ${npm_config_to}",
11+
"bump-version": "npm run bump-version:helm-plugin && npm run bump-version:readme && npm run bump-version:npm",
12+
"bump-version:helm-plugin": "sed -i \"s/version: \\\".*\\\"/version: \\\"${npm_config_to}\\\"/\" plugin.yaml",
13+
"bump-version:readme": "sed -E -i \"s/helm-git --version .+$/helm-git --version ${npm_config_to}/\" README.md",
14+
"bump-version:npm": "npm version --no-git-tag-version ${npm_config_to}",
1515
"release": "semantic-release"
1616
},
1717
"repository": {

release.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
[
99
"@semantic-release/exec",
1010
{
11-
prepareCmd: "npm run bump --version=${nextRelease.version}",
11+
prepareCmd: "npm run bump-version --to=${nextRelease.version}",
1212
}
1313
],
1414
[

0 commit comments

Comments
 (0)