Skip to content

Latest commit

 

History

History
100 lines (60 loc) · 3.58 KB

README Creating a release package.md

File metadata and controls

100 lines (60 loc) · 3.58 KB

Follow these steps to create a Core Plot release and post it to GitHub:

Build Core Plot

  1. Ensure the following tools are installed on your development machine:

  2. Ensure the change log and podspec are up-to-date and committed to the Git repository.

  3. Using Git, ensure your local Core Plot source directory is in sync with the public repository on GitHub.

  4. Open the Terminal application and cd to the root directory of your local Core Plot source directory.

  5. Tag the current revision with the release version:

    $ git tag release_<version>

    where <version> is the version number for this release.

  6. Change to the scripts folder:

    $ cd scripts

  7. Run the createrelease script:

    $ python createrelease.py <version>

  8. Review the messages printed in the Terminal window and verify that all build steps succeeded.

  9. 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
  10. Right-click the release folder on your desktop and select Compress "<filename>" from the menu.

  11. Log into GitHub and navigate to the Releases page.

  12. Click Draft a new release.

  13. 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
  14. Click Publish release.

Update Documentation

  1. Change to the HTML documentation directory cloned from core-plot.github.io:

    cd ../documentation/html

  2. Commit any changes from the release build of the documentation.

  3. Tag the current documentation revision with the release version:

    $ git tag release_<version>

  4. Review the wiki pages and make any needed updates.

Update CocoaPods

  1. Make a copy of the podspec.

  2. Update the version tag to the current release number.

    s.version = '<version>'

  3. 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>'}

  4. Submit the updated podspec to CocoaPods.

Spread the Word

  1. Post release announcements on the following sites: