Skip to content

Commit

Permalink
[CI] fix path to sample app in version incrementer script
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jan 10, 2020
1 parent 3163f92 commit 4dc924e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doincrementversion
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ sed -E "--expression=$expression" -i $BASEDIR/$proj/build.gradle

# Update version in sample app's dependency list
expression="s/implementation 'com.viliussutkus89:$projId:$version_format'/implementation 'com.viliussutkus89:$projId:$RELEASEDVERSION'/"
sed -E "--expression=$expression" -i $BASEDIR/android-sample-app/app/build.gradle
sed -E "--expression=$expression" -i $BASEDIR/sample-app/app/build.gradle

# Update sample app's versionName
expression="s/versionName ['\"]$version_format['\"]\$/versionName '$RELEASEDVERSION'/"
sed -E "--expression=$expression" -i $BASEDIR/android-sample-app/app/build.gradle
sed -E "--expression=$expression" -i $BASEDIR/sample-app/app/build.gradle

# Update sample app's versionCode
expression="s/versionCode ([0-9]+)\$/versionCode $RELEASEDVERSIONCODE/"
sed -E "--expression=$expression" -i $BASEDIR/android-sample-app/app/build.gradle
sed -E "--expression=$expression" -i $BASEDIR/sample-app/app/build.gradle

0 comments on commit 4dc924e

Please sign in to comment.