You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-29Lines changed: 5 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,41 +184,17 @@ If you have access to make releases, the process is as follows:
184
184
- the EOL table in `docs/upgrading.asciidoc`, if this is a major or minor
185
185
release. EOL is 18 months after release date.
186
186
1. Ensure PR checks pass, then merge to main.
187
-
1. Publish to npm with `npm publish`.
188
-
This must be done *before* the release tag is pushed, because the automated
189
-
release process is triggered by the tag push and (the opbeans
190
-
bump-version.sh release step) depends on the new version having been
191
-
published to npm.
192
187
1. Working on the elastic repo now (not a fork), tag the merged-to-main commit
193
188
with `git tag vx.y.x && git push origin vx.y.z`. For example: `git tag
194
189
v1.2.3 && git push origin v1.2.3`.
190
+
(The Jenkins CI "Release" stage will handle `npm publish ...`ing the new
191
+
package version. See the appropriate [apm-ci tag build for this repo](https://apm-ci.elastic.co/job/apm-agent-nodejs/job/apm-agent-nodejs-mbp/view/tags/).)
195
192
1. Reset the latest major branch (currently `3.x`) to point to the current
196
193
main, e.g. `git branch -f 3.x main && git push origin 3.x`
197
194
198
195
### Past major
199
196
200
-
1. Be sure you have checked out the branch associated with the major you wish
201
-
to release and have pulled latest changes, e.g. `2.x`.
202
-
1. Make a PR titled "x.y.z" (the new version) which updates:
203
-
- the version in `package.json`,
204
-
- "CHANGELOG.asciidoc": Add missing changelog entries, if any. Then change
205
-
the "Unreleased" section title to:
206
-
```
207
-
[[release-notes-x.y.z]]
208
-
==== x.y.z - YYYY/MM/DD
209
-
```
210
-
- the EOL table in `docs/upgrading.asciidoc`, if this is a major or minor
211
-
release. EOL is 18 months after release date.
212
-
1. Ensure PR checks pass, then merge to main.
213
-
1. Publish to npm with `npm publish --tag=2x`.
214
-
**It is important to include that `--tag=2x`.**
215
-
This must be done *before* the release tag is pushed, because the automated
216
-
release process is triggered by the tag push and (the opbeans
217
-
bump-version.sh release step) depends on the new version having been
218
-
published to npm.
219
-
1. Working on the elastic repo now (not a fork), tag the merged-to-main commit
220
-
with `git tag vx.y.x && git push origin vx.y.z`. For example: `git tag
221
-
v1.2.3 && git push origin v1.2.3`.
222
-
1. Make a PR against `main` containing the updates to `CHANGELOG.asciidoc` so
223
-
that `main` always contain information about all releases
197
+
This is not currently supported. Until [this issue](#2668) is resolved one
198
+
**must not** push a "vX.Y.Z" version tag to the repository on GitHub that is
0 commit comments