diff --git a/.github/workflows/versioning-and-deployment.yaml b/.github/workflows/versioning-and-deployment.yaml index 596f0e8..f03ae46 100644 --- a/.github/workflows/versioning-and-deployment.yaml +++ b/.github/workflows/versioning-and-deployment.yaml @@ -24,13 +24,13 @@ jobs: id: update_version_code run: | # Get the current versionCode from build.gradle - VERSION_CODE=$(grep versionCode .Nabi/presentation/build.gradle.kts | sed 's/[^0-9]*//g') + VERSION_CODE=$(grep versionCode ./Nabi/presentation/build.gradle.kts | sed 's/[^0-9]*//g') # Increment the versionCode NEW_VERSION_CODE=$((VERSION_CODE + 1)) # Replace the old versionCode with the new one in build.gradle - sed -i "s/versionCode $VERSION_CODE/versionCode $NEW_VERSION_CODE/" .Nabi/presentation/build.gradle.kts + sed -i "s/versionCode $VERSION_CODE/versionCode $NEW_VERSION_CODE/" ./Nabi/presentation/build.gradle.kts # Check if there are changes to commit if [ $(git status --porcelain | wc -l) -gt 0 ]; then