Skip to content

Commit

Permalink
Merge pull request #118 from jpsim/jp-make-release
Browse files Browse the repository at this point in the history
add 'archive' and 'release' actions to Makefile
  • Loading branch information
jpsim committed Dec 13, 2015
2 parents 02d8ec8 + f9eeac7 commit d0aa7b5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ Carthage/Build

## SourceKitten
SourceKitten.pkg
SourceKittenFramework.framework.zip
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ package: installables
--root "$(TEMPORARY_FOLDER)" \
--version "$(VERSION_STRING)" \
"$(OUTPUT_PACKAGE)"

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

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 SourceKitten contributors, follow these steps to cut a release:
5. Tag: `git tag -a 0.6.2 -m "0.6.2: Objective-Cat"; 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/SourceKitten.dst/usr/local/Frameworks/SourceKittenFramework.framework Carthage/Build/Mac`
* `carthage archive SourceKittenFramework`
9. Create a GitHub release: https://github.com/realm/SourceKitten/releases/new
7. Create the pkg installer & framework zip: `make release`
8. Create a GitHub release: https://github.com/realm/SourceKitten/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#45651](https://github.com/Homebrew/homebrew/pull/45651) as an
example.
9. File a PR towards Homebrew bumping the `tag`, `revision` & Xcode version
dependency if necessary.
See [homebrew#45651](https://github.com/Homebrew/homebrew/pull/45651) as an
example.

0 comments on commit d0aa7b5

Please sign in to comment.