Skip to content

Commit

Permalink
Merge pull request #169 from YkSix/bump_sdk_version_in_sample_app
Browse files Browse the repository at this point in the history
Bump LINE SDK version in sample app to v5.10.1
  • Loading branch information
YkSix authored May 20, 2024
2 parents 2874ea6 + 61c989c commit c0759a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ossrh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Decode Token To File
uses: timheuer/[email protected]
with:
fileName: 'verification.properties'
fileDir: './line-sdk/src/main/resources/META-INF/com/linecorp/linesdk/linesdk/'
encodedString: ${{ secrets.SDK_CONSOLE_TOKEN }}
fileName: 'verification.properties'
fileDir: './line-sdk/src/main/resources/META-INF/com/linecorp/linesdk/linesdk/'
encodedString: ${{ secrets.SDK_CONSOLE_TOKEN }}
- name: Deploy artifacts
env:
ORG_GRADLE_PROJECT_repositoryUsername: ${{ secrets.OSSRH_USERNAME }}
Expand Down Expand Up @@ -51,12 +51,17 @@ jobs:

- name: Retrieve Version
run: |
echo "version_name=$(${{github.workspace}}/gradlew -q printVersionName)" >> $GITHUB_OUTPUT
version_output=$(${{github.workspace}}/gradlew -q printVersionName)
# Use awk to extract the last line from the output
# 'END{print line}' prints the last stored line after processing all input lines
VERSION_NAME=$(echo "$version_output" | awk '/./{line=$0} END{print line}')
echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_OUTPUT
id: sdk_version

- name: Get Version
run: |
echo "version_name=${{steps.sdk_version.outputs.VERSION_NAME}}"
echo "VERSION_NAME=${{steps.sdk_version.outputs.VERSION_NAME}}"
- name: Create Tag
id: create_tag
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ android {
}

dependencies {
implementation("com.linecorp.linesdk:linesdk:5.9.1")
implementation("com.linecorp.linesdk:linesdk:5.10.1")
implementation("androidx.core:core-ktx:1.9.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.5.1")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1")
Expand Down

0 comments on commit c0759a5

Please sign in to comment.