Skip to content

Commit

Permalink
Merge pull request #285 from crossroads/master
Browse files Browse the repository at this point in the history
#November2019Release1
  • Loading branch information
namrataukirde authored Nov 13, 2019
2 parents f4e828a + ad7ead1 commit cc8475f
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 32 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,14 @@ jobs:
yarn run azure-filestore download -d google-play -f $GOOGLE_PLAY_KEY_FILE
mv $GOOGLE_PLAY_KEY_FILE ~/code/fastlane
working_directory: ~/code
- run: yes | sdkmanager --licenses || exit 0
- run: yes | sdkmanager --update || exit 0
- run:
name: android build
command: bundle exec rake ${ENVIRONMENT} android app:build
working_directory: ~/code/cordova
- store_artifacts:
path: cordova/platforms/android/build/outputs/apk/
path: cordova/platforms/android/app/build/outputs/apk/
- run:
name: release android build
command: bundle exec fastlane android ${ENVIRONMENT}
Expand Down Expand Up @@ -218,8 +220,8 @@ jobs:
command: |
echo 'export STAGING=$(if [ "$CIRCLE_BRANCH" == "live" ]; then echo false; else echo true; fi)' >> $BASH_ENV
echo 'export ENVIRONMENT=$(if [ "$CIRCLE_BRANCH" == "live" ]; then echo production; else echo staging; fi)' >> $BASH_ENV
echo 'export PROVISIONING_PROFILE=$(if [ "$CIRCLE_BRANCH" == "live" ]; then echo 'GoodCityDonor.mobileprovision'; else echo 'GoodCity_App_Staging.mobileprovision'; fi)' >> $BASH_ENV
echo 'export CERTIFICATE=$(if [ "$CIRCLE_BRANCH" == "live" ]; then echo 'Goodcity_2020.p12'; else echo 'GoodCity_2019_Development.p12'; fi)' >> $BASH_ENV
echo 'export PROVISIONING_PROFILE=$(if [ "$CIRCLE_BRANCH" == "live" ]; then echo 'GoodCityDonor.mobileprovision'; else echo 'GoodCityAppStaging.mobileprovision'; fi)' >> $BASH_ENV
echo 'export CERTIFICATE=$(if [ "$CIRCLE_BRANCH" == "live" ]; then echo 'Goodcity_2020.p12'; else echo 'GoodCity_2020_Development.p12'; fi)' >> $BASH_ENV
- run:
command: |
npm rebuild node-sass
Expand Down Expand Up @@ -376,5 +378,5 @@ workflows:
- tests
filters:
branches:
only: /^(live|master)$/
only: /^(master|live)$/

42 changes: 21 additions & 21 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.0)
CFPropertyList (3.0.1)
activesupport (4.2.10)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
atomos (0.1.3)
babosa (1.0.2)
babosa (1.0.3)
capistrano (3.4.0)
i18n
rake (>= 10.0.0)
Expand Down Expand Up @@ -62,16 +62,16 @@ GEM
dotenv (2.7.5)
emoji_regex (1.0.1)
escape (0.0.4)
excon (0.66.0)
faraday (0.15.4)
excon (0.68.0)
faraday (0.17.0)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.13.1)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.5)
fastlane (2.128.1)
fastimage (2.1.7)
fastlane (2.134.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
babosa (>= 1.0.2, < 2.0.0)
Expand All @@ -81,9 +81,9 @@ GEM
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 2.0)
excon (>= 0.45.0, < 1.0.0)
faraday (~> 0.9)
faraday (~> 0.17)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
faraday_middleware (~> 0.13.1)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-api-client (>= 0.21.2, < 0.24.0)
Expand All @@ -96,7 +96,7 @@ GEM
multipart-post (~> 2.0.0)
plist (>= 3.1.0, < 4.0.0)
public_suffix (~> 2.0.0)
rubyzip (>= 1.2.2, < 2.0.0)
rubyzip (>= 1.3.0, < 2.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
slack-notifier (>= 2.0.0, < 3.0.0)
Expand All @@ -119,9 +119,9 @@ GEM
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.9)
google-cloud-core (1.3.0)
google-cloud-core (1.4.1)
google-cloud-env (~> 1.0)
google-cloud-env (1.2.0)
google-cloud-env (1.3.0)
faraday (~> 0.11)
google-cloud-storage (1.16.0)
digest-crc (~> 0.4)
Expand All @@ -143,15 +143,15 @@ GEM
concurrent-ruby (~> 1.0)
json (2.2.0)
jwt (2.1.0)
memoist (0.16.0)
mime-types (3.2.2)
memoist (0.16.1)
mime-types (3.3)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.0331)
mime-types-data (3.2019.1009)
mini_magick (4.9.5)
mini_portile2 (2.4.0)
minitest (5.11.3)
molinillo (0.6.6)
multi_json (1.13.1)
multi_json (1.14.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
nanaimo (0.2.6)
Expand All @@ -174,14 +174,14 @@ GEM
retriable (3.1.2)
rouge (2.0.7)
ruby-macho (1.3.1)
rubyzip (1.2.3)
rubyzip (1.3.0)
security (0.1.3)
signet (0.11.0)
signet (0.12.0)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.5)
simctl (1.6.6)
CFPropertyList
naturally
slack-notifier (2.3.2)
Expand All @@ -204,7 +204,7 @@ GEM
unf_ext (0.0.7.6)
unicode-display_width (1.6.0)
word_wrap (1.0.0)
xcodeproj (1.12.0)
xcodeproj (1.13.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def mobile_provisioning_file
file = if production_env?
"GoodCityDonor.mobileprovision"
else
"GoodCity_App_Staging.mobileprovision"
"GoodCityAppStaging.mobileprovision"
end
File.join(prefix, file)
end
Expand Down
4 changes: 2 additions & 2 deletions cordova/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<hook src="scripts/update_build_number.py" type="before_prepare" />
<platform name="android">
<hook type="after_prepare" src="scripts/copyAndroidAssets.js"/>
<resource-file src="google-services.json" target="google-services.json" />
<resource-file src="google-services.json" target="app/google-services.json" />
<preference name="LoadUrlTimeoutValue" value="120000"/>
<preference name="SplashScreen" value="screen"/>
<preference name="SplashScreenDelay" value="5000"/>
Expand Down Expand Up @@ -88,7 +88,7 @@
<allow-intent href="https://crossroads.uservoice.com/*"/>
<allow-intent href="https://checkout.paypal.com/*"/>
<engine name="ios" spec="https://github.com/apache/cordova-ios.git#4.5.5" />
<engine name="android" spec="~6.3.0"/>
<engine name="android" spec="~8.0.0"/>
<engine name="windows" spec="~4.3.1"/>
<plugin name="cordova-plugin-statusbar" spec="~2.1.1"/>
<plugin name="cordova-plugin-device" spec="~1.1.1"/>
Expand Down
3 changes: 1 addition & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ end
platform :android do

before_all do
apk_file_path = Dir["#{ENV["CIRCLE_ARTIFACTS"]}/*.apk"].first
ENV["SUPPLY_APK"] = ENV["TESTFAIRY_IPA_PATH"] = apk_file_path
ENV["SUPPLY_APK"] = ENV["TESTFAIRY_IPA_PATH"] = Dir["#{ENV['APK_FILE_PATH']}"].first
raise_if_no_env_var("GOOGLE_PLAY_KEY_FILE")
ENV["SUPPLY_JSON_KEY"] = File.join(Dir.pwd, ENV["GOOGLE_PLAY_KEY_FILE"])
raise "Google Play private key file not found! (#{ENV["SUPPLY_JSON_KEY"]})" unless File.exist?(ENV["SUPPLY_JSON_KEY"])
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "goodcity",
"version": "0.17.1",
"version": "0.17.2",
"description": "Small description for goodcity goes here",
"license": "MIT",
"author": "",
Expand Down Expand Up @@ -97,7 +97,8 @@
"hoek": "4.2.1",
"js-yaml": "^3.13.1",
"loader.js": "4.0.0",
"lodash": "^4.17.11",
"lodash": "^4.17.13",
"lodash.merge": "^4.6.2",
"minimatch": "^3.0.2",
"phantomjs-prebuilt": "^2.1.14",
"shared-goodcity": "git://github.com/crossroads/shared.goodcity.git#master",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7384,6 +7384,11 @@ lodash.merge@^4.3.0, lodash.merge@^4.3.1, lodash.merge@^4.4.0, lodash.merge@^4.6
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54"
integrity sha512-AOYza4+Hf5z1/0Hztxpm2/xiPZgi/cjMqdnKTUWTBSKchJlxXXuUSxCCl8rJlf4g6yww/j6mA8nC8Hw/EZWxKQ==

lodash.merge@^4.6.2:
version "4.6.2"
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==

lodash.mergewith@^4.6.0:
version "4.6.1"
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz#639057e726c3afbdb3e7d42741caa8d6e4335927"
Expand Down Expand Up @@ -7507,6 +7512,11 @@ lodash@^4.0.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.3.0,
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==

lodash@^4.17.13:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==

lodash@~2.4.1:
version "2.4.2"
resolved "http://registry.npmjs.org/lodash/-/lodash-2.4.2.tgz#fadd834b9683073da179b3eae6d9c0d15053f73e"
Expand Down

0 comments on commit cc8475f

Please sign in to comment.