-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup plugin deploy GitHub Action #83
Comments
@aristath 👋 I have been meaning to contribute the elaborate setup we have for releasing plugins to WP.org repo to this repo, which also uses
Could you shed some light on how new releases are currently done? The described setup requires a svn password for an account with access in Github repo secrets. Would this or a trimmed version be a nice addition to automate issuance of releases at this point? |
Thanks, @ashfame, this will be super helpful! I wonder if we could simplify this even further so that the first step is triggered by a draft release. Not sure if it makes sense, but a draft release with a new tag creates that new tag only when the release is published, which could allow for the following workflow:
I'm not 100% certain that this is possible (that a draft release provides the drafted tag name, for example), but it would make releasing a new version very close to just drafting and publishing a GitHub release. and the new tag and changelog would be specified when drafting the release. |
The The actual procedure used in the importers needs these manual steps:
But points 1 and 2 can be automated by a script similar to the (old) wpcomsh one. |
@JanJakes The reason why I like what we have more is that it explicitly begins with a tiny script changing the version number in code files The resultant PR with that change includes a link in description to review code changes since last tagged version easily. Github AI button lets you generate the summary of changes very quickly, which can be copied to release description exactly. Additionally, this also allows everyone to be notified with the intent of releasing PR by just tying it all to the flow of a PR review. So, others can comment or mark the PR as approved and only then the ball starts rolling. It's actually pretty much how @zaerl describes it. |
@aristath, setting up this action would make new releases super easy:
https://github.com/10up/action-wordpress-plugin-deploy
The text was updated successfully, but these errors were encountered: