Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
docs(ci): improve docs on release flow (#1797)
Browse files Browse the repository at this point in the history
* feat(release): automatic stashing before release

Signed-off-by: András Jáky <[email protected]>

* docs(release): add more notes and steps

Signed-off-by: András Jáky <[email protected]>

---------

Signed-off-by: András Jáky <[email protected]>
  • Loading branch information
akijakya authored Jun 17, 2024
1 parent b81f4c1 commit 0295f63
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ multimod-verify: bin/multimod

.PHONY: multimod-prerelease
multimod-prerelease: bin/multimod
git stash --all
$(MULTIMOD_BIN) prerelease --all-module-sets --skip-go-mod-tidy=true --commit-to-different-branch=false


Expand Down
15 changes: 15 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ git commit -m "release: update module set to version v0.7.0"
```

* Run the version verification command to check for any issues.

> [!NOTE]
> If you use `go.work` and `go.work.sum` files in the project, temporarily remove/rename them so it won't interfere with this step.
```sh
make multimod-verify
```
Expand Down Expand Up @@ -66,3 +70,14 @@ Please note that the release tag is not necessarily associated with the "release
* Navigate to the [Releases page](https://github.com/openclarity/vmclarity/releases) and verify the draft release description as well as the assets listed.

* Once the draft release has been verified, click on `Edit` release and then on `Publish Release`.

## 5. Post release steps

* In the [docs repository](https://github.com/openclarity/docs.openclarity.io), modify the value of `latest_version` in `config/_default/config.toml`, create a pull request and merge after it was reviewed.

```toml
[params]
latest_version = "0.7.0" # Used in some installation commands
```

* From the release page, download the AWS Cloudformation files (`aws-cloudformation-v0.7.0.tar.gz`), extract the archive locally and upload its contents to the S3 bucket used for storing them for VMClarity installation.

0 comments on commit 0295f63

Please sign in to comment.