Skip to content

Commit 7de5ffc

Browse files
authored
Merge pull request #2556 from wmathurin/master
Fixing setversion.sh script and setting version to 12
2 parents c9c2d1c + 12e5476 commit 7de5ffc

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ buildscript {
1717

1818
allprojects {
1919
group = "com.salesforce.mobilesdk"
20-
version = "11.1.0"
20+
version = "12.0.0"
2121

2222
// Ensure that we do not use newer language features that would make the SDK incompatible with
2323
// apps that do not target the latest version of Kotlin.

libs/MobileSync/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@file:Suppress("UnstableApiUsage")
22

33
rootProject.ext["PUBLISH_GROUP_ID"] = "com.salesforce.mobilesdk"
4-
rootProject.ext["PUBLISH_VERSION"] = "11.1.0"
4+
rootProject.ext["PUBLISH_VERSION"] = "12.0.0"
55
rootProject.ext["PUBLISH_ARTIFACT_ID"] = "MobileSync"
66

77
plugins {

libs/SalesforceAnalytics/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@file:Suppress("UnstableApiUsage")
22

33
rootProject.ext["PUBLISH_GROUP_ID"] = "com.salesforce.mobilesdk"
4-
rootProject.ext["PUBLISH_VERSION"] = "11.1.0"
4+
rootProject.ext["PUBLISH_VERSION"] = "12.0.0"
55
rootProject.ext["PUBLISH_ARTIFACT_ID"] = "SalesforceAnalytics"
66

77
plugins {

libs/SalesforceHybrid/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@file:Suppress("UnstableApiUsage")
22

33
rootProject.ext["PUBLISH_GROUP_ID"] = "com.salesforce.mobilesdk"
4-
rootProject.ext["PUBLISH_VERSION"] = "11.1.0"
4+
rootProject.ext["PUBLISH_VERSION"] = "12.0.0"
55
rootProject.ext["PUBLISH_ARTIFACT_ID"] = "SalesforceHybrid"
66

77
plugins {

libs/SalesforceReact/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import org.apache.tools.ant.taskdefs.condition.Os
1212
val useIntlJsc = false
1313

1414
rootProject.ext["PUBLISH_GROUP_ID"] = "com.salesforce.mobilesdk"
15-
rootProject.ext["PUBLISH_VERSION"] = "11.1.0"
15+
rootProject.ext["PUBLISH_VERSION"] = "12.0.0"
1616
rootProject.ext["PUBLISH_ARTIFACT_ID"] = "SalesforceReact"
1717

1818
plugins {

libs/SalesforceSDK/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@file:Suppress("UnstableApiUsage")
22

33
rootProject.ext["PUBLISH_GROUP_ID"] = "com.salesforce.mobilesdk"
4-
rootProject.ext["PUBLISH_VERSION"] = "11.1.0"
4+
rootProject.ext["PUBLISH_VERSION"] = "12.0.0"
55
rootProject.ext["PUBLISH_ARTIFACT_ID"] = "SalesforceSDK"
66

77
plugins {

libs/SmartStore/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@file:Suppress("UnstableApiUsage")
22

33
rootProject.ext["PUBLISH_GROUP_ID"] = "com.salesforce.mobilesdk"
4-
rootProject.ext["PUBLISH_VERSION"] = "11.1.0"
4+
rootProject.ext["PUBLISH_VERSION"] = "12.0.0"
55
rootProject.ext["PUBLISH_ARTIFACT_ID"] = "SmartStore"
66

77
plugins {

setversion.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ update_top_build_gradle ()
5656
{
5757
local file=$1
5858
local versionName=$2
59-
gsed -i "s/version = '[0-9\.]*'/version = '${versionName}'/g" ${file}
59+
gsed -i "s/version = \"[0-9\.]*\"/version = \"${versionName}\"/g" ${file}
6060
}
6161

6262
update_build_gradle ()
6363
{
6464
local file=$1
6565
local versionName=$2
66-
gsed -i "s/PUBLISH_VERSION = '[0-9\.]*'/PUBLISH_VERSION = '${versionName}'/g" ${file}
66+
gsed -i "s/\[\"PUBLISH_VERSION\"\] = \"[0-9\.]*\"/\[\"PUBLISH_VERSION\"\] = \"${versionName}\"/g" ${file}
6767
}
6868

6969
update_manifest ()

0 commit comments

Comments
 (0)