Skip to content

Commit

Permalink
Fix(Semantic Release): Bump versions on verifyReleaseCmd
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Aug 15, 2023
1 parent 4d30538 commit 55163fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/semantic-release-config/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const defaultConfig = {
'@semantic-release/commit-analyzer': { preset: 'techor', releaseRules },
'@semantic-release/release-notes-generator': { preset: 'techor' },
'@semantic-release/exec': {
verifyConditionsCmd: 'techor version ${nextRelease.version}'
verifyRelease: 'techor version ${nextRelease.version}'
},
'@semantic-release/github': true
}
Expand Down
4 changes: 2 additions & 2 deletions packages/semantic-release-config/tests/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('Customize config and extend default', () => {
['@semantic-release/commit-analyzer', { preset: 'techor', releaseRules }],
['@semantic-release/release-notes-generator', { preset: 'techor' }],
['@semantic-release/exec', {
verifyConditionsCmd: 'techor version ${nextRelease.version}'
verifyRelease: 'techor version ${nextRelease.version}'
}],
'@semantic-release/github'
]
Expand Down Expand Up @@ -52,7 +52,7 @@ test('Disable the @semantic-release/github plugin', () => {
['@semantic-release/commit-analyzer', { preset: 'techor', releaseRules }],
['@semantic-release/release-notes-generator', { preset: 'techor' }],
['@semantic-release/exec', {
verifyConditionsCmd: 'techor version ${nextRelease.version}'
verifyRelease: 'techor version ${nextRelease.version}'
}]
]
})
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const configure = require('semantic-release-config-techor/configure')
module.exports = configure({
plugins: {
'@semantic-release/exec': {
verifyConditionsCmd: 'pnpm run version ${nextRelease.version}'
verifyRelease: 'pnpm run version ${nextRelease.version}'
}
}
})

0 comments on commit 55163fa

Please sign in to comment.