2 Commits

Author SHA1 Message Date
Jeff Verkoeyen
bd0a6c61d2 Always run release scripts from the git repo's root directory.
Summary: This allows the release scripts to be run from elsewhere in the file system. This will help write scripts that allow us to run release-candidate bisecting on the release branch.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D764
2016-04-26 15:38:08 -04:00
Jeff Verkoeyen
f2da09a5fb Add releasing tooling and guide.
Summary:
Includes the following tools:

- api_diff: Writes a CHANGELOG.md-ready API diff for the latest release to stdout.
- changed_files: Writes a list of modified component sources for the latest release to stdout.
- changed_public_headers: Writes a list of modified component public headers for the latest release to stdout.
- changes: Writes a CHANGELOG.md-ready list of changes in this release, organized by component, to stdout.
- cut: Creates a release-candidate branch, creates a release section in CHANGELOG.md, and outputs an email to be sent to the community to stdout.
- diff: Generates a diff from the last release to the current one.
- merge: Performs the final merge operations into master and develop for the current release.
- next: Returns a version number bumped from the latest release on origin/master.

These tools are all discussed in the new Releasing contributor guide also included in this diff.

Reviewers: randallli, iangordon, #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D509
2016-04-07 11:36:56 -04:00