File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ jobs:
3838 - name : Generate google-services.json
3939 run : echo '${{ secrets.GOOGLE_SERVICES }}' | base64 -d > ./app/google-services.json
4040
41- - name : Extract Version Name from ApplicationConstants.kt
41+ - name : Extract Version Name from libs.versions.toml
4242 run : |
4343 set -euo pipefail
44- VERSION=$(grep "VERSION_NAME" build-logic/src/main/kotlin/com/ninecraft/booket/convention/ApplicationConstants.kt | sed -E 's/.*VERSION_NAME \s*=\s*"([^"]+)".*/\1/')
44+ VERSION=$(grep "versionName" gradle/libs.versions.toml | sed -E 's/.*versionName \s*=\s*"([^"]+)".*/\1/')
4545 if [[ -z "$VERSION" ]]; then
46- echo "Error: ApplicationConstants.kt에서 VERSION_NAME 값을 추출하지 못했습니다." >&2
46+ echo "Error: toml에서 versionName 값을 추출하지 못했습니다." >&2
4747 exit 1
4848 fi
4949 echo "version=v${VERSION}" >> "$GITHUB_OUTPUT"
50- echo "Version extracted from ApplicationConstants.kt : v${VERSION}"
50+ echo "Version extracted from toml : v${VERSION}"
5151 id : extract_version
5252
5353 - name : Generate Firebase Release Note
You can’t perform that action at this time.
0 commit comments