Skip to content

Commit

Permalink
Merge pull request #705 from cybozu-go/update-release-doc
Browse files Browse the repository at this point in the history
Update release doc
  • Loading branch information
shunki-fujita committed Jun 25, 2024
2 parents 5289d78 + 08004bd commit 1ed88f7
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,23 @@ It should look like:

```console
# Set VERSION and confirm it. It should not have "v" prefix.
$ VERSION=1.2.3
# Patch version starts with 0
$ VERSION=x.y.z
$ echo $VERSION
```

2. Make a new branch from the latest `main` with `git neco dev bump-v$VERSION`.

```console
$ git neco dev "bump-v$VERSION"
```

3. Update version strings in `kustomization.yaml` and `version.go`.
4. Edit `CHANGELOG.md` for the new version ([example][]).
5. Commit the change and create a pull request:

```console
$ git commit -a -m "Bump version to $VERSION"
$ git commit -a -m "Bump version to v$VERSION"
$ git neco review
```

Expand All @@ -53,7 +59,7 @@ It should look like:

```console
# Set VERSION again.
$ VERSION=1.2.3
$ VERSION=x.y.z
$ echo $VERSION

$ git checkout main
Expand All @@ -78,12 +84,17 @@ This will prevent the MOCO version from going up just by modifying the Helm Char

```console
# Set variables. They should not have "v" prefix.
$ APPVERSION=1.2.3 # MOCO version
$ CHARTVERSION=4.5.6
$ APPVERSION=x.y.z # MOCO version
$ CHARTVERSION=a.b.c
$ echo $APPVERSION $CHARTVERSION
```

2. Make a new branch from the latest `main` with `git neco dev bump-chart-v$CHARTVERSION`.

```console
$ git neco dev "bump-chart-v$VERSION"
```

3. Update version strings:

```console
Expand All @@ -96,7 +107,7 @@ This will prevent the MOCO version from going up just by modifying the Helm Char
5. Commit the change and create a pull request:

```console
$ git commit -a -m "Bump chart version to $CHARTVERSION"
$ git commit -a -m "Bump chart version to v$CHARTVERSION"
$ git neco review
```

Expand All @@ -105,7 +116,7 @@ This will prevent the MOCO version from going up just by modifying the Helm Char

```console
# Set CHARTVERSION again.
$ CHARTVERSION=4.5.6
$ CHARTVERSION=a.b.c
$ echo $CHARTVERSION

$ git checkout main
Expand Down

0 comments on commit 1ed88f7

Please sign in to comment.