- Have cocoapods installed
- Have ownership privileges to update the cocoapods trunk spec
- Have credentials for Bintray
Steps to release the Tangram ES iOS Framework to Cocoapods and release the Android AAR to JCenter:
For the Android library, remove -SNAPSHOT
from the version name in gradle.properties
.
GROUP=com.mapzen.tangram
VERSION_NAME=1.0.0
For the iOS framework, remove -dev
from the version name in iOS.framework.cmake
:
set(FRAMEWORK_VERSION "1.0.0")
And increment the version number in Tangram-es.podspec
:
s.version = '1.0.0'
For desktop apps, update the version number in core/include/tangram.h
#define TANGRAM_VERSION_MAJOR 1
#define TANGRAM_VERSION_MINOR 0
#define TANGRAM_VERSION_PATCH 0
Commit and push to master.
$ git commit -m "Release 1.0.0"
$ git push
Tag the commit with the release version and push the tag to GitHub.
$ git tag 1.0.0
$ git push origin 1.0.0
Once CircleCI completes the tag build, run pod spec lint
in the directory containing Tangram-es.podspec
to validate the Podspec.
Push the podspec to trunk:
pod trunk push Tangram-es.podspec
Once Travis CI completes the release build, log into Bintray and publish the new artifacts to production.
The new artifact should appear soon in JCenter.
For the Android library, update the version name and restore -SNAPSHOT
to prepare the next development cycle.
GROUP=com.mapzen.tangram
VERSION_NAME=1.0.1-SNAPSHOT
For the iOS framework, update the version name and restore -dev
in iOS.framework.cmake
:
set(FRAMEWORK_VERSION "1.0.1-dev")
Commit and push to master.
$ git commit -m "Prepare next development cycle"
$ git push
Document release notes at https://github.com/tangrams/tangram-es/releases.