Skip to content

Commit

Permalink
Merge pull request #2118 from ykhandelwal913/main
Browse files Browse the repository at this point in the history
Reordering the task to avoid the snapshotCheck failure
  • Loading branch information
adierkens committed Dec 10, 2021
2 parents 56d7568 + 7d8e00c commit 11021fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions plugins/gradle/__tests__/gradle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ describe("Gradle Plugin", () => {
"initScmAdapter",
"checkCommitNeeded",
"checkUpdateNeeded",
"updateVersion",
"checkSnapshotDependencies",
"runBuildTasks",
"updateVersion",
"-Prelease.useAutomaticVersion=true",
`-Prelease.newVersion=1.0.1`,
]);
Expand All @@ -88,9 +88,9 @@ describe("Gradle Plugin", () => {
"initScmAdapter",
"checkCommitNeeded",
"checkUpdateNeeded",
"updateVersion",
"checkSnapshotDependencies",
"runBuildTasks",
"updateVersion",
"-Prelease.useAutomaticVersion=true",
`-Prelease.newVersion=2.0.0`,
]);
Expand All @@ -112,9 +112,9 @@ describe("Gradle Plugin", () => {
"initScmAdapter",
"checkCommitNeeded",
"checkUpdateNeeded",
"updateVersion",
"checkSnapshotDependencies",
"runBuildTasks",
"updateVersion",
"-Prelease.useAutomaticVersion=true",
`-Prelease.newVersion=2.0.0`,
]);
Expand All @@ -135,9 +135,9 @@ describe("Gradle Plugin", () => {
"initScmAdapter",
"checkCommitNeeded",
"checkUpdateNeeded",
"updateVersion",
"checkSnapshotDependencies",
"runBuildTasks",
"updateVersion",
"-Prelease.useAutomaticVersion=true",
`-Prelease.newVersion=1.2.0`,
]);
Expand All @@ -158,9 +158,9 @@ describe("Gradle Plugin", () => {
"initScmAdapter",
"checkCommitNeeded",
"checkUpdateNeeded",
"updateVersion",
"checkSnapshotDependencies",
"runBuildTasks",
"updateVersion",
"-Prelease.useAutomaticVersion=true",
`-Prelease.newVersion=1.0.0`
]);
Expand Down Expand Up @@ -351,9 +351,9 @@ describe("Gradle Plugin", () => {
"initScmAdapter",
"checkCommitNeeded",
"checkUpdateNeeded",
"updateVersion",
"checkSnapshotDependencies",
"runBuildTasks",
"updateVersion",
"-Prelease.useAutomaticVersion=true",
`-Prelease.newVersion=1.0.0`,
]);
Expand Down Expand Up @@ -389,9 +389,9 @@ describe("Gradle Plugin - Custom Command", () => {
"initScmAdapter",
"checkCommitNeeded",
"checkUpdateNeeded",
"updateVersion",
"checkSnapshotDependencies",
"runBuildTasks",
"updateVersion",
"-Prelease.useAutomaticVersion=true",
`-Prelease.newVersion=1.0.1`,
"-P prop=val",
Expand Down
2 changes: 1 addition & 1 deletion plugins/gradle/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ export default class GradleReleasePluginPlugin implements IPlugin {
"initScmAdapter",
"checkCommitNeeded",
"checkUpdateNeeded",
"updateVersion",
"checkSnapshotDependencies",
"runBuildTasks",
"updateVersion",
"-Prelease.useAutomaticVersion=true",
`-Prelease.newVersion=${version}`,
...this.options.gradleOptions,
Expand Down

0 comments on commit 11021fa

Please sign in to comment.