-
Notifications
You must be signed in to change notification settings - Fork 12
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
Initial instructions for release #56
Changes from 3 commits
17b999d
2b21ec7
c2b8a42
375618b
351c16a
01c311c
29b0f4e
ea960c9
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 | ||
---|---|---|---|---|
|
@@ -49,4 +49,38 @@ To be done. | |||
|
||||
## I'm the release manager | ||||
|
||||
To be done. | ||||
> NOTE: This instructions are for the 0.2.0 milestone (when ready). As more features and automation is added the process will become simpler. | ||||
|
||||
### Preparing the changelog | ||||
|
||||
* Wait for the last BC of the release. If another BC is generated after that or a patch version for a previous minor is released, you might need to restart the process. | ||||
* Create a branch from the commit of the BC. | ||||
* From the root folder of the repository run: | ||||
|
||||
``` | ||||
$ elastic-agent-changelog-tool build --version x.y.z --owner <owner> --repo <repo> | ||||
``` | ||||
* Where: | ||||
* `x.y.z` is the version to release. | ||||
* `owner` is the user / organization the repository to use belongs to. | ||||
* `repo` is the name of the repository containing the issues / PRs, etc. | ||||
* This will create `./changelog.yaml`. Store it in the repository as `changelog/x.y.x.yaml`. | ||||
andresrc marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
* From the root of the repository run: | ||||
``` | ||||
$ elastic-agent-changelog-tool cleanup | ||||
``` | ||||
* Commit the previous changes (consolidated changelod and removed files) | ||||
* From the root folder of the repository run: | ||||
``` | ||||
$ elastic-agent-changelog-tool render --version x.y.z | ||||
``` | ||||
* This will generate an asciidoc fragment in __TODO__. | ||||
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. Looking at #62 the output will be generated in the folder specified by the 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. The default value is the current folder (
|
||||
* Integrate the generated fragment into the changelog. If the changelog is stored in the same repository, commit the changes in this same branch. | ||||
* Create a PR with the changes above the `x.y` branch. | ||||
|
||||
|
||||
### On Release Day | ||||
|
||||
Once the release is given the final go on release day: | ||||
* Merge the PR created in the previous section. | ||||
* Forward-port it to the other active branches, up to `main`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@endorama @LucianPy if there any default value for
owner
? If not, should we makeelastic
the default value?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the default owner is already
elastic
:elastic-agent-changelog-tool/cmd/root.go
Line 11 in 7c056a9
The default
repo
isbeats
, we may want to update it toelastic-agent
.