Skip to content

Commit

Permalink
fix: android user agent version
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahroz16 committed Aug 19, 2024
1 parent f1c1cee commit 38b2815
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
{ "name": "v3", "range": "3.x" }
],
"dryRun": true,
"plugins": [
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/main/java/io/customer/sdk/CustomerIO.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 38b2815

Please sign in to comment.