Skip to content

Commit

Permalink
Bump revision and set publishing information
Browse files Browse the repository at this point in the history
[Problem]

[Test]

[Release Notes]
- mainline

Jira: <url>
  • Loading branch information
knappam committed Aug 14, 2024
1 parent 5b8642f commit 023526b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ tasks.register("publishAllInsideNpmPackage") {
dependsOn(":packages:react-native:ReactAndroid:hermes-engine:installArchives")
}

tasks.register("publishAllToMavenCodeArtifact") {
description = "Publish all the artifacts to be available inside a Maven Local repository on /tmp."
dependsOn(":packages:react-native:ReactAndroid:publishAllPublicationsToCodeArtifactRepository")
// We don't publish the external-artifacts to Maven Local as CircleCI is using it via workspace.
dependsOn(
":packages:react-native:ReactAndroid:hermes-engine:publishAllPublicationsToCodeArtifactRepository")
}


tasks.register("publishAllToMavenTempLocal") {
description = "Publish all the artifacts to be available inside a Maven Local repository on /tmp."
dependsOn(":packages:react-native:ReactAndroid:publishAllPublicationsToMavenTempLocalRepository")
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/ReactAndroid/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=0.72.16
VERSION_NAME=0.72.17
GROUP=com.facebook.react

# JVM Versions
Expand Down
12 changes: 12 additions & 0 deletions packages/react-native/ReactAndroid/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def signingPwd = findProperty("SIGNING_PWD")
def reactAndroidProjectDir = project(':packages:react-native:ReactAndroid').projectDir
def androidOutputUrl = "file://${reactAndroidProjectDir}/../android"
def mavenTempLocalUrl = "file:///tmp/maven-local"
def codeArtifactUrl = "https://amazon-149122183214.d.codeartifact.us-west-2.amazonaws.com/maven/react-knappa"
//def codeArtifactUrl = "https://hera-905418065147.d.codeartifact.us-west-2.amazonaws.com/maven/react-knappa-internal"

publishing {
publications {
Expand Down Expand Up @@ -65,6 +67,16 @@ publishing {
}

repositories {
maven {
name = "codeArtifact"
url = codeArtifactUrl

credentials {
username "aws"
password System.env.CODEARTIFACT_AUTH_TOKEN
}
}

maven {
name = "npm"
url = androidOutputUrl
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native",
"version": "0.72.16",
"version": "0.72.17",
"bin": "./cli.js",
"description": "A framework for building native apps using React",
"license": "MIT",
Expand Down Expand Up @@ -134,4 +134,4 @@
}
]
}
}
}

0 comments on commit 023526b

Please sign in to comment.