Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

iOS deploy script enhancements - #6581

Merged
friedbunny merged 15 commits into
masterfrom
fb-deploy-script-enhancements
Oct 6, 2016
Merged

friedbunny merged 15 commits into
masterfrom
fb-deploy-script-enhancements

Conversation

@friedbunny

@friedbunny friedbunny commented Oct 4, 2016 •

Copy link
Copy Markdown
Contributor

Spent some time converting @boundsj’s deploy-packages.sh into a more automated make command:

  • make ideploy is now the one-stop shop for deploying releases.
    • Automatically detects latest ios-vX.X.X-pre.X tag.
    • Fails if version has already been published on GitHub.
    • Fails if tag does not exist, checks it out if it does.
    • Specify a version and skip GitHub publishing: make ideploy VERSION_TAG=ios-v9.8.7 GITHUB_RELEASE=false
  • Does not allow your computer to go to sleep (caffeinate), which would ruin the deploy.
  • Adds more informative steps, formatted like the build make commands.
  • Shows upload progress for s3.
  • Removes overly-verbose github-release output.
    • Tried to filter this instead, but sed would occasionally kill the entire process.
  • Installs github-release from homebrew.
  • Re-downloaded packages are now stored in build/ios/deploy.
    • Can override this via: make ideploy BINARY_DIRECTORY='~/Desktop'

Another future enhancement would be to check if you have aws s3 push privileges.

/cc @boundsj @1ec5 @incanus @frederoni

@friedbunny friedbunny added iOS Mapbox Maps SDK for iOS build refactor labels Oct 4, 2016
@friedbunny friedbunny added this to the ios-v3.4.0 milestone Oct 4, 2016
@friedbunny friedbunny self-assigned this Oct 4, 2016
@mention-bot

Copy link
Copy Markdown

@friedbunny, thanks for your PR! By analyzing the history of the files in this pull request, we identified @boundsj, @incanus and @kkaefer to be potential reviewers.

@boundsj boundsj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice @friedbunny! I sort of quickly scanned through this but it looks 👍 and I'd be ok with landing this so we can use it for the next pre-release.

@friedbunny
friedbunny merged commit 8d221ca into master Oct 6, 2016
@friedbunny
friedbunny deleted the fb-deploy-script-enhancements branch October 6, 2016 00:29
@friedbunny

Copy link
Copy Markdown
Contributor Author

Thanks for the review, @boundsj. I’ve also updated the release instructions wiki page.

Incidentally, the more I look at Fastlane, the more appealing it becomes for packaging tasks like this (even if it means another set of external dependencies). I got a bit caught up in enhancing our current deploy script, but the next phase is probably to ditch it for Fastlane. 😉

1ec5 added a commit that referenced this pull request Jan 9, 2017
@1ec5 1ec5 mentioned this pull request Jan 9, 2017
6 tasks done
1ec5 added a commit that referenced this pull request Jan 13, 2017
1ec5 added a commit that referenced this pull request Jan 15, 2017
1ec5 added a commit that referenced this pull request Jan 15, 2017
1ec5 added a commit that referenced this pull request Jan 15, 2017
* [macos] Updated deployment scripts

Ported fixes from #6581 and #6740.

* [macos] Acknowledge AppleScript support

* [macos] Prepared for published documentation

Also added link to Dash docset.

* [macos] Added CocoaPods podspecs

Ported from #5653.

* [macos] Rewrote readme; updated screenshot

* [macos] Include setup instructions in standalone docs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

build iOS Mapbox Maps SDK for iOS refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants