blob: 9f53769d94c0fb9a92ec74cd62c3a650c5e97563 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 | # How to Release a New Version
First, update the version numbers. (MASShortcut uses [Semantic Versioning](http://semver.org/), so please read the docs if you’re not sure what the deal is.) The version number is stored in `Framework/Info.plist` and `MASShortcut.podspec` (twice in both files).
Then update the `CHANGES` file. Add information about the new version (see the previous versions for an example) and add the release date.
Now commit the changes:
    $ git commit -a -m "Version bump to x.y.z."
And tag the last commit:
    $ git tag -a x.y.z
Now push both the commits and tags (`--tags`) to GitHub and push the new podspec to CocoaPods:
    $ pod trunk push MASShortcut.podspec
This will run sanity checks on the podspec and fail if the spec does not validate.
That’s it. Go have a beer or a cup of tea to celebrate.
 |