Here’s how to release a new version of the election websites theme.
The election website template should use Semantic Versioning.
Update the following files with the new version number:
style.css
functions.php
package.json
package-lock.json
Update the changelog in README.md
. Describe the changes in a few bullet points. Use language understandable by election officials, not software engineers.
If you have added configuration or intermediate build files that should not be included in the release, add them to .gitattributes
.
Ensure all changes are pushed and merged to master
.
- Draft a new release
- Enter the version number into tag version (i.e.
1.0.2
). Do not includev
in the tag name, i.e. notv1.0.1
. - Copy and paste the bullet points from the changelog in the “Describe this release” field.
- Click
Publish release
Check the values returned from the GitHub release API and confirm the version number is correct.