Skip to content

Commit

Permalink
fix: java package version always 1.0.0, current parse version not pus…
Browse files Browse the repository at this point in the history
…hed to server (#1130)
  • Loading branch information
azlekov authored Oct 18, 2021
1 parent 1eeb9cf commit 3c6496a
Show file tree
Hide file tree
Showing 15 changed files with 5,011 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-automated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm install -g -E semantic-release@18.0.0 @semantic-release/changelog@6.0.0 @semantic-release/commit-analyzer@9.0.1 @semantic-release/git@10.0.0 @semantic-release/release-notes-generator@10.0.2
- run: npm ci
- run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ jacoco.exec
# Node
node_modules/
npm-debug.log
package-lock.json
12 changes: 6 additions & 6 deletions coroutines/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}

packagingOptions {
exclude "**/BuildConfig.class"
}

lintOptions {
abortOnError false
}

buildTypes {
debug {
testCoverageEnabled = true
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
release {
minifyEnabled false
testCoverageEnabled = false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
}

Expand Down
19 changes: 13 additions & 6 deletions facebook/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,25 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}

packagingOptions {
exclude "**/BuildConfig.class"
}

lintOptions {
abortOnError false
}

buildTypes {
debug {
testCoverageEnabled = true
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
release {
minifyEnabled false
testCoverageEnabled = false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
Expand Down
12 changes: 6 additions & 6 deletions fcm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}

packagingOptions {
exclude "**/BuildConfig.class"
}

lintOptions {
abortOnError false
}

buildTypes {
debug {
testCoverageEnabled = true
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
release {
minifyEnabled false
testCoverageEnabled = false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
}

Expand Down
19 changes: 13 additions & 6 deletions google/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}

packagingOptions {
exclude "**/BuildConfig.class"
}

lintOptions {
Expand All @@ -27,6 +21,19 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}

buildTypes {
debug {
testCoverageEnabled = true
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
release {
minifyEnabled false
testCoverageEnabled = false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
}

kotlinOptions {
jvmTarget = "1.8"
}
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
version=2.0.2
android.enableJetifier=true
android.useAndroidX=true
android.useAndroidX=true
14 changes: 6 additions & 8 deletions ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,23 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

}

packagingOptions {
exclude "**/BuildConfig.class"
}

lintOptions {
abortOnError false
}

buildTypes {
debug {
testCoverageEnabled = true
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
release {
minifyEnabled false
testCoverageEnabled = false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
buildConfigField("String","PARSE_VERSION","\"${version}\"")
}
}

Expand Down
Loading

0 comments on commit 3c6496a

Please sign in to comment.