Skip to content

Commit

Permalink
Merge pull request #9 from terrestris/commit-all-pom-xml-for-snapshot
Browse files Browse the repository at this point in the history
fix: commit all changed pom.xml
  • Loading branch information
simonseyock authored Jan 20, 2023
2 parents ef8e45c + 04ca2ab commit 83218ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/success.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ module.exports = async function success(pluginConfig, {
if (updateSnapshotVersionOpt) {
await updateSnapshotVersion(logger, processAllModules);
const execaOptions = { env, cwd };
logger.log('Staging pom.xml');
await add(['pom.xml'], execaOptions);
logger.log('Committing pom.xml');
logger.log('Staging all changed pom.xml');
await add(['pom.xml', '**/pom.xml'], execaOptions);
logger.log('Committing all changed pom.xml');
await commit(snapshotCommitMessage, execaOptions);
logger.log('Pushing commit');
await push(repositoryUrl, branch.name, execaOptions);
Expand Down

0 comments on commit 83218ee

Please sign in to comment.