This document describes the process for a public Texture release.
- Install github_changelog_generator:
sudo gem install github_changelog_generator
- Generate a GitHub Personal Access Token to prevent running into public GitHub API rate limits: https://github.com/github-changelog-generator/github-changelog-generator#github-token
- Run
github_changelog_generator
in Texture project directory:github_changelog_generator --token <generated personal token> --user TextureGroup --project Texture
. To avoid hitting rate limit, the generator will replace the entire file with just the changes from this version – revert that giant deletion to get the entire new changelog. - Update
spec.version
withinTexture.podspec
and thesince-tag
andfuture-release
fields in.github_changelog_generator
. - Create a new PR with the updated
Texture.podspec
and the newly generated changelog. - After merging in the PR, create a new GitHub release. Use the generated changelog for the new release.
- Push to Cocoapods with
pod trunk push
- Sometimes we will still run into GitHub rate limit issues although using a personal token to generate the changelog. For now there is no solution for this. The issue to track is: Triggering Github Rate limits #656