Skip to content

Commit

Permalink
Set react-native-prompt-android artifact version
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Mar 9, 2022
1 parent a55a90a commit 16d1bb2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ subprojects {
configure<PublishingExtension> {
publications {
create<MavenPublication>("S3") {
val packageVersion = packageDevDependencies.optString(project.name)
var packageVersion = packageDevDependencies.optString(project.name)
if (project.name == "react-native-prompt-android") {
packageVersion = "1.0.0"
}
println("Publishing configuration:\n\tartifactId=\"${project.name}\"\n\tversion=\"$packageVersion\"")

from(components.get("release"))
Expand Down

0 comments on commit 16d1bb2

Please sign in to comment.