Skip to content

Commit

Permalink
Merge pull request #52 from wednesday-solutions/update_ci_issue
Browse files Browse the repository at this point in the history
'' removed from generate_new_version_code.sh
  • Loading branch information
shounak-mulay authored May 17, 2022
2 parents c4ec120 + 7242162 commit 6a39742
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/actions/generate_new_version_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ echo "NEW_TAG=$new_tag" >> $GITHUB_ENV # Setting this for use later
echo "Updating CurrentVersionCode by 1 and changing file versionCode"

let "currentVersionCode=currentVersionCode+1" # Bumping versionCode By one
sed -i '' "s/\(versionCode[[:space:]]*=[[:space:]]*\)[0-9]*/\\1${currentVersionCode}/" $GITHUB_WORKSPACE/app/app.gradle.kts

# For Mac OS un comment the below line .
#sed -i '' "s/\(versionCode[[:space:]]*=[[:space:]]*\)[0-9]*/\\1${currentVersionCode}/" $GITHUB_WORKSPACE/app/app.gradle.kts

# For the linux.
sed -i "s/\(versionCode[[:space:]]*=[[:space:]]*\)[0-9]*/\\1${currentVersionCode}/" $GITHUB_WORKSPACE/app/app.gradle.kts


0 comments on commit 6a39742

Please sign in to comment.