Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 895 Bytes

RELEASING.md

File metadata and controls

41 lines (30 loc) · 895 Bytes

Releasing Theme Check Action

  1. Check the Semantic Versioning page for info on how to version the new release: semver.org.

  2. Make sure you are on main

git fetch origin main
git checkout main
git reset --hard origin/main
  1. Update the changelog using the git-extra's git changelog.
git changelog
  1. Commit and push the changelog update (to main, it's OK)
git add CHANGELOG.md
git commit -m "Update CHANGELOG.md"
git push origin main
  1. Set the version number, and release the tag (and rerelease the minor tag, and update the major branch)
export VERSION=v2.X.X
scripts/release $VERSION
  1. Create a GitHub release for the changes
git fetch origin
git fetch origin --tags
git reset origin $VERSION
gh release create -t $VERSION