Skip to content

Commit

Permalink
[build] Allow artifacts override for SDK Registry publications.
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Tarasov committed Jun 11, 2021
1 parent a2df7fa commit a079411
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Mapbox welcomes participation and contributions from everyone.
- [telemetry] Android 12 compartibility fixes.
- [telemetry] Send accuracy authorization with AppUserTurnstile event.
- [build] Fix maven publication script
- [build] Allow to override artifacts during SDK Registry publications.

### v7.0.3

Expand Down
2 changes: 1 addition & 1 deletion libcore/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ registry {
sdkName = project.ext.mapboxRegistrySdkName
production = true
snapshot = project.ext.versionName.endsWith("-SNAPSHOT")
override = snapshot ? true : false
override = true
dryRun = false
publish = true
publications = ["release"]
Expand Down
2 changes: 1 addition & 1 deletion libtelemetry/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ registry {
sdkName = project.ext.mapboxRegistrySdkName
production = true
snapshot = project.ext.versionName.endsWith("-SNAPSHOT")
override = snapshot ? true : false
override = true
dryRun = false
publish = true
publications = ["okhttp4Release", "okhttp3Release"]
Expand Down

0 comments on commit a079411

Please sign in to comment.