diff --git a/.github/workflows/deploy-sdk.yml b/.github/workflows/deploy-sdk.yml index 5be00655c..e94044ef3 100644 --- a/.github/workflows/deploy-sdk.yml +++ b/.github/workflows/deploy-sdk.yml @@ -4,7 +4,7 @@ name: Deploy SDK # bot account runs write operations on the github repo to push a tag. on: push: - branches: [beta, main] # all branches where deployments currently occur. Make sure this list matches list of branches in `.releaserc` file. + branches: [beta, main, v3] # all branches where deployments currently occur. Make sure this list matches list of branches in `.releaserc` file. permissions: contents: write # access to push the git tag @@ -150,7 +150,10 @@ jobs: if: needs.deploy-git-tag.outputs.new_release_published == 'true' # only run if a git tag was made. runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout git tag that got created in previous step + uses: actions/checkout@v4 + with: + ref: ${{ needs.deploy-git-tag.outputs.new_release_version }} - uses: ./.github/actions/setup-android - name: Push to Sonatype servers run: MODULE_VERSION=${{ needs.deploy-git-tag.outputs.new_release_version }} ./scripts/deploy-code.sh diff --git a/.releaserc.json b/.releaserc.json index 447e76022..a75ea64a9 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -6,10 +6,7 @@ "name": "beta", "prerelease": true }, - { - "name": "alpha", - "prerelease": true - } + { "name": "v3", "range": "3.x" } ], "dryRun": true, "plugins": [ diff --git a/sdk/src/main/java/io/customer/sdk/CustomerIO.kt b/sdk/src/main/java/io/customer/sdk/CustomerIO.kt index 488deded1..9bad60c59 100644 --- a/sdk/src/main/java/io/customer/sdk/CustomerIO.kt +++ b/sdk/src/main/java/io/customer/sdk/CustomerIO.kt @@ -366,7 +366,7 @@ class CustomerIO internal constructor( appContext.registerActivityLifecycleCallbacks(diGraph.activityLifecycleCallbacks) modules.forEach { - logger.debug("initializing SDK module ${it.value.moduleName}...") + logger.debug("initializing SDK module ${it.value.moduleName} with version ${Version.version}...") it.value.initialize() }