Skip to content

Commit

Permalink
fix: fixed release step (#1770)
Browse files Browse the repository at this point in the history
* fix: fixed release step

* fix: fixed the assemble flavor (no more gms anymore)
  • Loading branch information
kikoso authored Aug 27, 2024
1 parent ac20c03 commit cb53eb4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Build and check
run: |
cd snippets
./gradlew assembleGmsDebug lintGmsDebug
./gradlew assembleDebug lintGmsDebug
build-tutorials:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
run: |
echo "Generating ApiDemos (Java) APKs"
cd $GITHUB_WORKSPACE/ApiDemos/java
./gradlew assembleGms
./gradlew assemble
cp ./app/build/outputs/apk/gms/debug/app-gms-debug.apk $GITHUB_WORKSPACE/ApiDemos-java-gms-debug.apk
echo "Generating Kotlin (Kotlin) APKs"
cd $GITHUB_WORKSPACE/ApiDemos/kotlin
./gradlew assembleGms
./gradlew assemble
cp ./app/build/outputs/apk/gms/debug/app-gms-debug.apk $GITHUB_WORKSPACE/ApiDemos-kotlin-gms-debug.apk
- uses: actions/setup-node@v2
Expand Down
8 changes: 4 additions & 4 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ plugins:
- - "@google/semantic-release-replace-plugin"
- replacements:
- files:
- "./ApiDemos/java/app/build.gradle"
- "./ApiDemos/kotlin/app/build.gradle"
- "./ApiDemos/java/app/build.gradle.kts"
- "./ApiDemos/kotlin/app/build.gradle.kts"
from: "versionName = \".*\""
to: "versionName = \"${nextRelease.version}\""
- - "@semantic-release/git"
- assets:
- "./ApiDemos/java/app/build.gradle"
- "./ApiDemos/kotlin/app/build.gradle"
- "./ApiDemos/java/app/build.gradle.kts"
- "./ApiDemos/kotlin/app/build.gradle.kts"
- - "@semantic-release/github"
- assets:
- "./ApiDemos-java-gms-debug.apk"
Expand Down

0 comments on commit cb53eb4

Please sign in to comment.