Follow these steps to create a Core Plot release and post it to GitHub:
-
Ensure the following tools are installed on your development machine:
- Xcode 7
- [Doxygen](http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc), version 1.8.9.1 or later, installed in /Applications
- [Graphviz](http://www.graphviz.org/Download_macos.php), version 2.34.0 or later
-
Ensure the change log and podspec are up-to-date and committed to the Git repository.
-
Using Git, ensure your local Core Plot source directory is in sync with the public repository on GitHub.
-
Open the Terminal application and
cdto the root directory of your local Core Plot source directory. -
Tag the current revision with the release version:
$ git tag release_<version>where <version> is the version number for this release.
-
Change to the scripts folder:
$ cd scripts -
Run the createrelease script:
$ python createrelease.py <version> -
Review the messages printed in the Terminal window and verify that all build steps succeeded.
-
The release products were placed in a folder called CorePlot_<version> and placed on your desktop. Open this folder and verify that the following subfolders and files are present:
- Binaries/iOS/
- Binaries/MacOS/
- Documentation/
- READMEs/
- Source/
- License.txt
-
Right-click the release folder on your desktop and select Compress "<filename>" from the menu.
-
Log into GitHub and navigate to the Releases page.
-
Click Draft a new release.
-
Select the tag for the new release (
release_<version>).Enter the following:
- Release title: Core Plot Release <version>
- Binaries: drag the Core Plot zip file on your desktop to the box
-
Click Publish release.
-
Change to the HTML documentation directory cloned from core-plot.github.io:
cd ../documentation/html -
Commit any changes from the release build of the documentation.
-
Tag the current documentation revision with the release version:
$ git tag release_<version> -
Review the wiki pages and make any needed updates.
-
Make a copy of the podspec.
-
Update the version tag to the current release number.
s.version = '<version>' -
Add the git tag name (
release_<version>) under the source tag.s.source = { :git => 'https://github.com/core-plot/core-plot.git', :tag => 'release_<version>'} -
Submit the updated podspec to CocoaPods.
-
Post release announcements on the following sites:
- The Core Plot [discussion board](https://groups.google.com/forum/#!forum/coreplot-discuss)
- [Twitter](https://twitter.com/CorePlot)
- [App.net](https://alpha.app.net/coreplot)