-
Notifications
You must be signed in to change notification settings - Fork 166
Release 2.2.0-beta.1 #1520
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
Release 2.2.0-beta.1 #1520
Changes from 10 commits
87e6184
346978a
ea89f92
79e24be
6223f8c
d8a0b61
535a340
9913263
4475253
9a0482f
8e98bbc
c0beb75
87ba0c7
a7978b1
03d7c41
f409a71
5ba4f30
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,6 @@ on: | |
| push: | ||
| branches: | ||
| - main | ||
| - fdc3-for-web-impl | ||
|
|
||
| jobs: | ||
| test_and_upload_coverage: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -103,19 +103,51 @@ From the root package, you can run `npm run build` to build all the modules, or | |
|
|
||
| For installation and usage instructions, see: <https://fdc3.finos.org/docs/supported-platforms#usage> | ||
|
|
||
| ### Bumping Version Numbers (for maintainers) | ||
|
|
||
| It's important that all of the versions of the submodules stay on the same version, and that the references between them are consistent to that version. To change the version number (say before or after a release) run the following: | ||
|
|
||
| ``` | ||
| // first, update version number in package.json | ||
| npm login | ||
| npm version <new version from package.json> --workspaces // changes the version number in all submodule package.json files | ||
| npm run syncpack // sycnhronizes version numbers | ||
| npm up // fixes node_module references | ||
| npm run build // builds all the modules against the new version | ||
| npm publish --access=public --workspaces // this step performs a manual release of the npm modules (not needed with GitHub actions releases) | ||
| ``` | ||
| ### Releasing FDC3 (for maintainers) | ||
|
|
||
| This is a 4-step process: | ||
|
|
||
| 1. **Create a release branch** | ||
|
|
||
| Do this locally. Ensure the branch is named `release/v2.0` (or whatever the next version is). | ||
|
|
||
| ```bash | ||
| git checkout -b release/v2.0 | ||
| ``` | ||
|
|
||
| 2. **Update the version numbers in the package.json files** | ||
|
|
||
| It's important that all of the versions of the submodules stay on the same version, and that the references between them are consistent to that version. To change the version number (say before or after a release) run the following: | ||
|
|
||
| ```bash | ||
| // first, update version number in package.json | ||
| npm login | ||
| npm version <new version from package.json> --workspaces // changes the version number in all submodule package.json files | ||
| npm run syncpack // sycnhronizes version numbers | ||
| npm up // fixes node_module references | ||
| npm run build // builds all the modules against the new version | ||
| ``` | ||
|
|
||
| 3. **Push the branch to publish the packages to npm** | ||
|
|
||
| ```bash | ||
| git push origin release/v2.0 | ||
| ``` | ||
|
|
||
| This should trigger a GitHub action that will publish the packages to npm. | ||
|
|
||
| 4. **Create a PR for merging the release branch.** | ||
|
|
||
| Once the packages are published, create a PR to merge the release branch into the main branch. You will need other FDC3 maintainers to review and approve the PR. | ||
|
|
||
| 5. **Set The NPM Version If Releasing A Beta** | ||
robmoffat marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| If you're releasing beta/alpha code, be sure to replace the latest version in NPM like so: | ||
|
|
||
| ``` | ||
| npm dist-tag add @finos/fdc3@2.1.1 latest | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Project maintainers will not be able to run Its that of we detect that there is something after the last digit of the version number in the workflow itself and have it set an alternative tag when it runs |
||
| ``` | ||
|
|
||
|
|
||
| ## Getting Involved | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.