Skip to content
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

Release cluster-v0.0.2 #200

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ release (e.g. 1.17.1)
In order to create a new release of the `cloudnative-pg` chart, follow these steps:

1. Take note of the current value of the release: see `.version` in `charts/cloudnative-pg/Chart.yaml`
```bash
yq -r '.version' charts/cloudnative-pg/Chart.yaml
```
2. Decide which version to create, depending on the kind of jump of the CloudNativePG release, following semver
semantics. For this document, let's call it `X.Y.Z`
```bash
Expand All @@ -28,7 +31,7 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
```
4. Update the `.version` in the [Chart.yaml](./charts/cloudnative-pg/Chart.yaml) file to `"X.Y.Z"`
```bash
sed -i -E "s/^version: ([0-9]+.?)+/version: $APP_VERSION/" charts/cloudnative-pg/Chart.yaml
sed -i -E "s/^version: ([0-9]+.?)+/version: $NEW_VERSION/" charts/cloudnative-pg/Chart.yaml
```
5. Update everything else as required, e.g. if releasing due to a new `cloudnative-pg` version being released, you might
want to update the following:
Expand Down Expand Up @@ -67,6 +70,7 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
```
7. Commit and add the relevant information you wish in the commit message.
```bash
git add .
git commit -S -s -m "Release cloudnative-pg-v$NEW_VERSION" --edit
```
8. Push the new branch
Expand Down Expand Up @@ -94,6 +98,9 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
In order to create a new release of the `cluster` chart, follow these steps:

1. Take note of the current value of the release: see `.version` in `charts/cluster/Chart.yaml`
```bash
yq -r '.version' charts/cluster/Chart.yaml
```
2. Decide which version to create, depending on the kind of changes and backwards compatibility, following semver
semantics. For this document, let's call it `X.Y.Z`
```bash
Expand All @@ -105,14 +112,15 @@ In order to create a new release of the `cluster` chart, follow these steps:
```
4. Update the `.version` in the [Chart.yaml](./charts/cluster/Chart.yaml) file to `"X.Y.Z"`
```bash
sed -i -E "s/^version: ([0-9]+.?)+/version: $APP_VERSION/" charts/cluster/Chart.yaml
sed -i -E "s/^version: ([0-9]+.?)+/version: $NEW_VERSION/" charts/cluster/Chart.yaml
```
5. Run `make docs schema` to regenerate the docs and the values schema in case it is needed
```bash
make docs schema
```
6. Commit and add the relevant information you wish in the commit message.
```bash
git add .
git commit -S -s -m "Release cluster-v$NEW_VERSION" --edit
```
7. Push the new branch
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: cluster
description: Deploys and manages a CloudNativePG cluster and its associated resources.
icon: https://raw.githubusercontent.com/cloudnative-pg/artwork/main/cloudnativepg-logo.svg
type: application
version: 0.0.1
version: 0.0.2
sources:
- https://github.com/cloudnative-pg/charts
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cluster

![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

> **Warning**
> ### This chart is under active development.
Expand Down
Loading