-
Notifications
You must be signed in to change notification settings - Fork 903
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
ml5 release process - need to update and optimize #387
Comments
@joeyklee taking a look at this stuff now - found this library that seems like it could be useful for speeding this up. one other thing jumps out - is there any reason we're still using both npm and yarn? i remember some discussion of migrating entirely over to yarn and that might make this process a bit less confusing |
@brondle - thanks for the suggestion for release-it. Maybe that's something to test out? One thing this still doesn't solve is the bumping up of version numbers in our readme documentation for things like references to In some ways I wonder if making our own release script that is tuned into the ml5 specific needs makes more sense or rather that we should restructure the ml5-library documentation so that our release process requires less manual effort or points of inconsistency. I guess the latter? Let's chat about the best way forward here. Re |
I tend to stick with |
Making some additional notes here:
|
@bomanimc - Yes! Let's close this up :) - thanks! (I will try to get to your PRs and posted issues on Tuesday! Sorry for the delay!) |
β Description π
A clear and concise description of what the issue is about. Let us know if you:
This is a note about the current ml5-library release process. Maybe @brondle you might have some ideas about how we can improve the ml5 developer experience in general and release process more specifically.
As I just did the release for ml5 v0.3.0, this is the current release process. You'll notice it is a pretty manual and error-prone human algorithm. (note: there are redundant
npm install
, pls ignore)ml5 Release process
Holy moly, I just did the release for ml5 and this is what it looked like.
This assumes:
Ready. 3, 2, 1β¦
Open the terminal and
cd
toml5-library
. In thedevelopment
branch:Once that is done. Make a new branch v0.3.0:
package.json
readme
to the new version, bumping down the previous version to the βhistorical releasesβ sectionGo to Github and Make pull request with the above. Wait for tests to pass.
Now make a pull request for
development
intorelease
. Wait for tests to pass.Go to Releases tab:
Go back to your terminal in the
ml5-library
:NOW go to
ml5-examples
in your terminal:Now make a pull request for
v0.3.0
intorelease
Now go to the
releases
tab and create a new release, adding details about the release and a tag with the version of ml5.js that is relevant. In this case v0.3.0Now merge
release
intomaster
And last - go through everything to make sure all your URLs are pointing to the right place on the website and update the documentation as necessary.
Whew. Letβs definitely figure out a better way to do this! Added to the list for the summer ;) βοΈ
The text was updated successfully, but these errors were encountered: