Skip to content

Commit

Permalink
Fixed bump patch and minor versions logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Aug 31, 2023
1 parent ae525f9 commit a302419
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,9 @@ task 'bump-patch-version' {
doLast {
def filesWithVersion = [
'build.gradle' : { "version = '${it}" },
'ui/package.json' : { "version: ${it}" },
'ui/package-lock.json' : { "version: ${it}" },
'src/main/resources/swagger/wiremock-admin-api.json': { "version: ${it}" },
'ui/package.json' : { "\"version\": \"${it}\"" },
'ui/package-lock.json' : { "\"version\": \"${it}\"" },
'src/main/resources/swagger/wiremock-admin-api.json': { "\"version\": \"${it}\"" },
'src/main/resources/swagger/wiremock-admin-api.yaml': {
"version: ${it}"
}
Expand All @@ -486,9 +486,9 @@ task 'bump-minor-version' {
doLast {
def filesWithVersion = [
'build.gradle' : { "version = '${it}" },
'ui/package.json' : { "version: ${it}" },
'ui/package-lock.json' : { "version: ${it}" },
'src/main/resources/swagger/wiremock-admin-api.json': { "version: ${it}" },
'ui/package.json' : { "\"version\": \"${it}\"" },
'ui/package-lock.json' : { "\"version\": \"${it}\"" },
'src/main/resources/swagger/wiremock-admin-api.json': { "\"version\": \"${it}\"" },
'src/main/resources/swagger/wiremock-admin-api.yaml': {
"version: ${it}"
}
Expand Down

0 comments on commit a302419

Please sign in to comment.