Skip to content

Commit

Permalink
added comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
ManavPharmeasy committed May 16, 2022
1 parent 3b51e10 commit 7242162
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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

# 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 7242162

Please sign in to comment.