- Docs (ReleaseInstructions): Comment out Makefile-related instructions for now and
add to-dos (README referencing current version and `package-lock.json`, tagging)
- npm: Bump to 3.0.0-alpha.4
2.0 KiB
2.0 KiB
Creating a new svg-edit release
Update the main project
- Update
versioninpackage.json(andpackage-lock.json(vianpm i)) - Update the CHANGES file with a summary of all changes.
- Update the README to point to the current version (it will not be available until the steps below)
- Commit these changes
- Tag the version, prefixed by "v", e.g.,
v3.0.1.
The above steps can be done on a fork and committed via a pull request.
Create the release on gh-pages
- Ensure you are on the
masterbranch withgit checkout master. - Switch to the
gh-pagesbranch withgit checkout gh-pages. - Copy the
svg-edit-X.Ydirectory toreleases/svg-edit-X.Y. - Commit these changes with
git commit -m "Updating binary files for release X.Y". - Switch back to the
masterbranch withgit checkout master. - Ensure this step worked by visiting https://svgedit.github.io/svgedit/releases/svg-edit-X.Y/svg-editor.html
The above steps can be done on a fork and committed via a pull request.
Create the release on GitHub
- Go to https://github.com/SVG-Edit/svgedit/releases and select
Draft a new release. - Make the release target point at the commit where the makefile and changes were updated.
- Write a short description of the release and include a link to the live version: https://svgedit.github.io/svgedit/releases/svg-edit-X.Y/svg-editor.html
- Create the release!
You will need to be a member of the SVG-Edit GitHub group to do this step.
Publish to npm
npm publish
Update the project docs
Update README.md with references and links to the shiny new release.