@@ -13,38 +13,32 @@ pre-commit install
13
13
14
14
Otherwise the Buildkite CI will yell at you about formatting/linting violations.
15
15
16
- ### Before you contribute
17
-
18
- ** Before we can use your code, you must sign the
19
- [ Google Individual Contributor License Agreement] ( https://developers.google.com/open-source/cla/individual?csw=1 )
20
- (CLA)** , which you can do online.
21
-
22
- The CLA is necessary mainly because you own the copyright to your changes,
23
- even after your contribution becomes part of our codebase, so we need your
24
- permission to use and distribute your code. We also need to be sure of
25
- various other things for instance that you'll tell us if you know that
26
- your code infringes on other people's patents. You don't have to sign
27
- the CLA until after you've submitted your code for review and a member has
28
- approved it, but you must do it before we can put your code into our codebase.
29
-
30
- Before you start working on a larger contribution, you should get in touch
31
- with us first. Use the issue tracker to explain your idea so we can help and
32
- possibly guide you.
33
-
34
- ** Before starting a complex contribution we strongly encourage you to share a design document** .
35
-
36
- [ Here] ( https://goo.gl/YCQttR ) you can find a document template.
37
-
38
16
### Code reviews and other contributions.
39
17
40
18
** All submissions, including submissions by project members, require review.**
41
19
We use GitHub's code review system to suggest changes, then merge the changes
42
20
to master when the PR is green and reviewed. The changes will then be in the
43
21
next release.
44
22
45
- ### The small print
23
+ ## Releasing
24
+
25
+ Releases are automated on a cron trigger.
26
+ The new version is determined automatically from the commit history, assuming the commit messages follow conventions, using
27
+ https://github.com/marketplace/actions/conventional-commits-versioner-action .
28
+ If you do nothing, eventually the newest commits will be released automatically as a patch or minor release.
29
+ This automation is defined in .github/workflows/tag.yaml.
30
+
31
+ Rather than wait for the cron event, you can trigger manually. Navigate to
32
+ https://github.com/bazel-contrib/rules_nodejs/actions/workflows/tag.yaml
33
+ and press the "Run workflow" button.
46
34
47
- Contributions made by corporations are covered by a different agreement than
48
- the one above, the
49
- [ Software Grant and Corporate Contributor License Agreement] ( https://cla.developers.google.com/about/google-corporate ) .
35
+ If you need control over the next release version, for example when making a release candidate for a new major,
36
+ then: tag the repo and push the tag, for example
37
+
38
+ ``` sh
39
+ % git fetch
40
+ % git tag v1.0.0-rc0 origin/main
41
+ % git push origin v1.0.0-rc0
42
+ ```
50
43
44
+ Then watch the automation run on GitHub actions which creates the release.
0 commit comments