#56898 closed defect (bug) (fixed)
Create a GitHub Action workflow that prepares bundled themes for release
Reported by: | desrosj | Owned by: | desrosj |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
Releasing new versions of bundled themes is a very manual process. A contributor must:
- verify that the
readme.txt
file has been updated properly - ensure versions are bumped properly in appropriate locations
- create a new ZIP file for each theme
- A Core SVN committer must upload each theme to the directory on release day.
Some of this can be automated to make this process easier.
Change History (14)
This ticket was mentioned in PR #3521 on WordPress/wordpress-develop by @desrosj.
2 years ago
#1
#2
@
2 years ago
I've created a workflow that:
- Confirms no file modifications after running theme build scripts (where appropriate).
- Allows any organization member to trigger the workflow to generate ZIP files.
This seems like a great starting point. In the future, there could be more release related checks and confirmations.
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
2 years ago
This ticket was mentioned in Slack in #core by chaion07. View the logs.
2 years ago
2 years ago
#5
I've made a few changes. Mainly, I separated the parts that test theme build scripts into a separate job. This eliminates the need for having different working-directory
s, and for checking which theme is being tested. I'm going to get this committed and we can make improvements as needed.
#7
@
2 years ago
- Owner set to desrosj
- Resolution set to fixed
- Status changed from new to closed
In 54699:
#9
@
2 years ago
This does not need to be backported. The workflow can be manually triggered in the the GitHub Actions UI and accepts a branch
, which will allow the themes to be bundled for the 6.1 branch.
This ticket was mentioned in Slack in #core by sergey. View the logs.
2 years ago
#11
@
2 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Looks like the theme folders are being nested in the ZIP. Reopening to adjust.
This ticket was mentioned in PR #3546 on WordPress/wordpress-develop by @desrosj.
2 years ago
#12
- GitHub Action artifacts are always zipped. This update prevents zipping a ZIP file (double zipping).
- Only the theme's directory should be included in the workflow. Not
src/wp-content/theme/THEMENAME
.
Trac ticket: https://core.trac.wordpress.org/ticket/56898
2 years ago
#14
Merged into Core in https://core.trac.wordpress.org/changeset/54740.
Trac ticket: https://core.trac.wordpress.org/ticket/56898