Skip to content

Commit

Permalink
add 'archive' and 'release' actions to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim committed Dec 13, 2015
1 parent 2a6ea67 commit 943c0b6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ package: installables
--root "$(TEMPORARY_FOLDER)" \
--version "$(VERSION_STRING)" \
"$(OUTPUT_PACKAGE)"

archive:
carthage build --no-skip-current --platform mac
carthage archive SwiftLintFramework

release: package archive
16 changes: 6 additions & 10 deletions Releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,15 @@ For SwiftLint contributors, follow these steps to cut a release:
5. Tag: `git tag -a 0.2.0 -m "0.2.0: Tumble Dry"; git push --tags`
6. Make sure you have the latest stable Xcode version installed or symlinked
under `/Applications/Xcode.app` and `xcode-select`ed.
7. Create the pkg installer: `make package`
8. Create the Carthage framework zip:
* `mkdir -p Carthage/Build/Mac`
* `mv /tmp/SwiftLint.dst/usr/local/Frameworks/SwiftLintFramework.framework Carthage/Build/Mac`
* `carthage archive SwiftLintFramework`
9. Create a GitHub release: https://github.com/realm/SwiftLint/releases/new
7. Create the pkg installer & framework zip: `make release`
8. Create a GitHub release: https://github.com/realm/SwiftLint/releases/new
* Specify the tag you just pushed from the dropdown.
* Set the release title to the new version number & release name.
* Add the changelog section to the release description text box.
* Upload the pkg installer and Carthage zip you just built to the GitHub
release binaries.
* Click "Publish release"
10. File a PR towards Homebrew bumping the `tag`, `revision` & Xcode version
dependency if necessary.
See [homebrew#45650](https://github.com/Homebrew/homebrew/pull/45650) as an
example.
9. File a PR towards Homebrew bumping the `tag`, `revision` & Xcode version
dependency if necessary.
See [homebrew#45650](https://github.com/Homebrew/homebrew/pull/45650) as an
example.

0 comments on commit 943c0b6

Please sign in to comment.