Skip to content
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

v0.7.2 #1263

Merged
merged 2 commits into from
Jan 19, 2022
Merged

v0.7.2 #1263

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,18 @@ Before getting started with ml5.js, review our [Code of Conduct](https://github.




<p id="latest-version">

* You can use the latest version (0.7.1) by adding it to the head section of your HTML document:
* You can use the latest version (0.7.2) by adding it to the head section of your HTML document:

**v0.7.1**
**v0.7.2**

<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js" type="text/javascript"></script>
<script src="https://unpkg.com/[email protected].2/dist/ml5.min.js" type="text/javascript"></script>

</p data-id="latest-version">





Expand Down
16 changes: 4 additions & 12 deletions docs/styleguide/maintenance-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Overview:

1. Create a new branch from `development` with a name that matches the new release version: `v<#>.<#>.<#>`
1. Create a new branch from `main` with a name that matches the new release version: `v<#>.<#>.<#>`
```sh
$ (development): git checkout -b v0.4.2
```
Expand All @@ -26,23 +26,15 @@
$ (v0.4.2): git commit -m "bumps version and updates ml5 version number"
$ (v0.4.2): git push origin v0.4.2
```
3. Make a **Pull Request** to merge `v<#>.<#>.<#>` to `development`. Wait for tests to pass. **Squash and merge**.
3. Make a **Pull Request** to merge `v<#>.<#>.<#>` to `main`. Wait for tests to pass. **Squash and merge**.
```sh
# Once you've squashed and merged `v0.4.2` to `development`...
# Step 1: switch to your development branch and pull in those changes
$ (v0.4.2): git checkout development
$ (v0.4.2): git checkout main
$ (development): git fetch
$ (development): git pull
```
4. With these changes now in `development` make a new **Pull Request** to merge `development` into `release`. Wait for tests to pass. **Squash and merge**.
```sh
# Once you've squashed and merged `development` to `release`...
# Step 1: switch to your release branch and pull in those changes
$ (development): git checkout release
$ (release): git fetch
$ (release): git pull
```
5. **Install the dependencies** to ensure you've got all the latest dependencies and **Build the library** to prepare for the release.
5. **Install the dependencies**: With these changes now in `main`, we need to ensure you've got all the latest dependencies and **Build the library** to prepare for the release.
```sh
$ (release): npm install
$ (release): npm run build
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ml5",
"version": "0.7.1",
"version": "0.7.2",
"description": "A friendly machine learning library for the web.",
"main": "dist/ml5.min.js",
"directories": {
Expand Down