@@ -22,18 +22,28 @@ Assuming "x.y.z" is the release version:
22
22
changes, then the commit/PR title should include mention of those
23
23
things as well.)
24
24
3 . Get the PR approved and merged.
25
- 4 . Tag the commit as follows, in a git clone with the merged commit:
25
+
26
+ 4 . Working on the elastic repo (not a fork), tag the commit as follows:
26
27
```
27
28
git tag ecs-helpers-vx.y.z
28
29
git push origin ecs-helpers-vx.y.z
29
30
```
30
- 5. Publish to npm, in a clean git clone:
31
+ The GitHub Actions "release-ecs-helpers" workflow will handle the release
32
+ steps -- including the `npm publish`. See the appropriate run at:
33
+ https://github.com/elastic/ecs-logging-nodehs/actions/workflows/release-ecs-helpers.yml
34
+
35
+ 5. The automation will do the rest.
36
+
37
+ If for any reason you need to run the publish the package manually then run the
38
+ below command in a clean git clone:
31
39
```
32
40
git status # this should show "working tree clean"
41
+
33
42
cd packages/ecs-helpers
34
43
npm publish
35
44
```
36
45
46
+
37
47
## Releasing `@elastic/ecs-[...]-format`
38
48
39
49
1. Choose the appropriate version number. All `ecs-*-format` packages currently
@@ -62,18 +72,23 @@ Assuming "x.y.z" is the release version:
62
72
63
73
3. Get the PR approved and merged.
64
74
65
- 4. Tag the commit as follows, in a git clone with the merged commit:
75
+ 4. Working on the elastic repo (not a fork), tag the commit as follows :
66
76
```
67
77
git tag vx.y.z
68
78
git push origin vx.y.z
69
79
```
80
+ The GitHub Actions "release" workflow will handle the release
81
+ steps -- including the `npm publish`. See the appropriate run at:
82
+ https://github.com/elastic/ecs-logging-nodehs/actions/workflows/release.yml
83
+
84
+ 5. The automation will do the rest.
70
85
71
- 5. Publish to npm, in a clean git clone:
86
+ If for any reason you need to run the publish the package manually then run the
87
+ below command in a clean git clone:
72
88
```
73
89
git status # this should show "working tree clean"
74
90
75
91
# for each of the packages being released:
76
92
cd packages/ecs-...-format
77
93
npm publish
78
94
```
79
-
0 commit comments