Skip to content

Commit

Permalink
Fix version naming
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscant committed Mar 27, 2020
1 parent a3b4779 commit 44a5bbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ before_install:
- npm --version
- gradle --version
script:
- export MOBILE_VERSION=$(grep -Po "MOBILE_VERSION = '\K.*?(?=')" nuxt.config.js)
- export MODTOOLS_VERSION=$(grep -Po "MODTOOLS_VERSION = '\K.*?(?=')" nuxt.config.js)
- env | grep '^MOBILE_VERSION='
- env | grep '^MODTOOLS_VERSION='
- npm run fdapp
- mkdir ../iznik-nuxt-app
- cd ../iznik-nuxt-app
Expand All @@ -55,6 +51,10 @@ script:
- cordova platform rm android
- cordova platform add android
#- cordova plugin add https://github.com/apache/cordova-plugin-geolocation.git --variable GPS_REQUIRED="false" --variable ANDROID_GPS_REQUIRED="false"
- export MOBILE_VERSION=$(grep -Po "MOBILE_VERSION = '\K.*?(?=')" nuxt.config.js)
- export MODTOOLS_VERSION=$(grep -Po "MODTOOLS_VERSION = '\K.*?(?=')" nuxt.config.js)
- env | grep '^MOBILE_VERSION='
- env | grep '^MODTOOLS_VERSION='
- cordova build --debug -- --keystore="../iznik-nuxt/android-chrisphdcccom.new.keystore" --storePassword="$storepass" --password="$keypass" --alias="Freegle Ltd Chris"
- cp ../iznik-nuxt-app/platforms/android/app/build/outputs/apk/debug/app-debug.apk Freegle-app-$(MOBILE_VERSION)-debug-$(date +'%Y%m%d%H%M%S').apk
- cordova build --release -- --keystore="../iznik-nuxt/android-chrisphdcccom.new.keystore" --storePassword="$storepass" --password="$keypass" --alias="Freegle Ltd Chris"
Expand Down

0 comments on commit 44a5bbc

Please sign in to comment.