Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
209 B

  1. #!/bin/sh
  2. FILE="app/build.gradle"
  3. VERSIONCODE=`grep "versionCode .*" $FILE | sed "s/versionCode //"`
  4. sed -i "s/versionCode .*$/versionCode $(($VERSIONCODE + 1))/; s/versionName .*$/versionName \"$1\"/" $FILE