-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Create a production-ready release artifact from master branch builds #6285
Comments
Good idea. Alternatively this might be done with a build branch if we didn't want to include the zip in the main codebase. |
To clarify, the zip wouldn't ever be committed, only created during the CI build and then delivered to some destination. |
This came up in the I've written a script to run on a six hour cron on my server: https://gist.github.com/danielbachhuber/f5fc9caa03541698949af81e42130ad1 The nightly build can be installed with:
@WordPress/gutenberg-core Any interest in formalizing this in some way? I see a few different options:
|
1,000% yes from me 😄 |
Some conversation in Notably, from @Otto42 (specific to option 2):
And from @Clorith:
I'd be fine with leaving my current implementation (https://builds.danielbachhuber.com/gutenberg-nightly.zip) running for the next couple of months if we don't want to invest more time into it. |
Oh, right, I'm sorry, I should have clarified: I would consider SVN plugin trunk for releases and RCs, not development versions too. I don't see much value in pushing But offering a "nightly" |
(On a related token, if there was a nightly easily available it would be super cool to see a nightly-based frontenberg somewhere in the wild for quickly testing the state of things without needing to spin up an environment.) |
I made a build process enhancement to: 1) bump to next version, 2) append I've also blogged it here: https://danielbachhuber.com/2018/10/02/gutenberg-nightly-build/ |
I would love this. This could also help with git bisecting. |
Could we get an update on this issue? |
I'm pretty sure that we do build the zip on each branch now, maybe we lack a way to make it more visible |
Yeah, I believe this has been addressed by #26746. See that PR's description (and screenshots) for how to find those builds for a given PR. For the Locate "Build Gutenberg Pl[ugin]", and click 'Details' next to it. This takes you to this page: Locate the 'Artifacts' dropdown, and expand it. From there, you can download the |
Is there anything else we need to address in this issue? |
Looks like we can close it -- I'll do that now 👍 (Everyone, feel free to re-open if I missed something essential. For any additional feature requests, please file new issues!) |
To better automate the release process, it would be helpful to create a production-ready release artifact from
master
branch builds.More specifically, what I mean by "production-ready release artifact" is a copy of the plugin that's ready for commit to WordPress.org.
If we include this in the
master
branch build process, a secondary benefit is that we'll always have a user-installable test version.To offer some ideas... I use DeployHQ for client projects to push a copy of the built code to my staging server. At the end of the push, DeployHQ runs
wp dist-archive <plugin-name>
(docs) to create an installable ZIP minus development cruft (e.g.package.json
). On the staging server, I have download-plugin-build running so the client can download a copy of the latest build:Another idea: we can use Circle CI exclusively for this process, to avoid consuming Travis builds.
The text was updated successfully, but these errors were encountered: