Skip to content

Commit

Permalink
Release v0.1.1 (#244)
Browse files Browse the repository at this point in the history
* fix etherscan links

* fix

* code review fixes

* add release commands

* don't wait for build-to-process

* bump version

* ios build succesful

* bump android version

* android build

* added release info

* Fix new lines

* Update RELEASE.MD

* Update RELEASE.MD
  • Loading branch information
Bruno Barbieri authored Dec 18, 2018
1 parent 36473f0 commit 025343b
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 7 deletions.
52 changes: 52 additions & 0 deletions RELEASE.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## iOS release

1 - Make sure you have fastlane installed (`sudo gem install fastlane`)

2 - Bump the version number in `info.plist` and commit the change

3 - Run `npm run release:ios`

4 - Wait for the appstore email that the build has completed processing (10 min - 1 hour)

5 - Go to this url: https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/1438144202/testflight?section=iosbuilds

6 - Click on the version number and then click on the "Test Details" tab

7 - Enter the release notes and save

8 - Click on the "Testers" tabs

9 - Click on the `+` sign next to Groups and select Alpha.



## Android release

1 - open android/app//build.gradle and change the version number

2 - Save and commit

3 - Run `npm run release:android`

4 - Go to the playstore: https://play.google.com/apps/publish/?account=9089866037123936197

5 - Click on the App logo, then go to Release Management >> App releases

6 - Go to "Manage" inside "Closed track" (ALPHA)

7 - Click Create Release

8 - Drag the APK

9 - Add Release notes at the bottom

10 - Click review

11 - Start rollout to ALPHA


### Once you're done with both stores:
- Submit a PR with the changes
- Once it's merged create a tag on master for that version
- Go to the release pages and create a new release for that tag, including the changelog

4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ android {
applicationId "io.metamask"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "0.1.0"
versionCode 2
versionName "0.1.1"
multiDexEnabled true
testBuildType System.getProperty('testBuildType', 'debug')
missingDimensionStrategy "minReactNative", "minReactNative46"
Expand Down
Binary file modified ios/MetaMask.app.dSYM.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions ios/MetaMask.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@
CODE_SIGN_ENTITLEMENTS = MetaMask/MetaMask.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 4;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = 48XVW22RCG;
FRAMEWORK_SEARCH_PATHS = (
Expand Down Expand Up @@ -1744,7 +1744,7 @@
CODE_SIGN_ENTITLEMENTS = MetaMask/MetaMask.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = 48XVW22RCG;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand Down
4 changes: 2 additions & 2 deletions ios/MetaMask/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<string>0.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>3</string>
<string>4</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ platform :ios do
)
upload_to_testflight(
distribute_external: false,
wait_processing_interval: 120,
skip_waiting_for_build_processing: true
)

end
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"start:android": "./scripts/build.sh android debug",
"build:android:release": "./scripts/build.sh android release",
"build:ios:release": "./scripts/build.sh ios release",
"release:android": "./scripts/build.sh android release && open android/app/build/outputs/apk/release/",
"release:ios": "cd ios && fastlane beta",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest ./app/ --forceExit",
"test:unit:update": "time jest -u ./app/ --forceExit",
Expand Down
2 changes: 2 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ prebuild_ios(){
}

prebuild_android(){
adb kill-server
adb start-server
prebuild
# Copy JS files for injection
yes | cp -rf app/core/InpageBridge.js android/app/src/main/assets/.
Expand Down

0 comments on commit 025343b

Please sign in to comment.