- Branch
develop
intorelease/X.Y.Z
if non-release code is still being merged todevelop
- Update
info.plist
andMCSCommerceWeb.podspec
to includebeta
version - Iterate this release over this branch
- Update the version to a non-beta in
info.plist
- Update the version and tag number to a non-beta in
MCSCommerceWeb.podspec
- Update the
CHANGELOG.md
for the impending release. - Update the
README.md
with the new version and any new documentation. git commit -am "Prepare for release X.Y.Z."
(where X.Y.Z is the new version)
pod lib lint
- Merge
release/X.Y.Z -> develop -> master
- Checkout
master
- Delete branch
release/X.Y.Z
, unless the release needs to be maintained with separate updates git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)git push --tags
pod trunk push MCSCommerceWeb.podspec
In develop
,
- Update the
info.plist
andMCSCommerce.podspec
to the next alpha version. git commit -am "Prepare next development version."
git push
Semver is used for versioning. After a new release is tagged with X.Y.Z, the version is updated to X.Y.Z-alpha1
for the next release.
alpha
is used when on develop branch;
beta
is used when working in a release branch.
TODO:
- Test the running of this in an actual CocoaPods installation
- Update document for Carthage as well