Skip to content

Commit

Permalink
Fix version number displayed on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-antoniak committed Jun 12, 2024
1 parent b230d66 commit b6f7573
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ The result of that workflow is the creation and publishing of a Docker image wit

### Create an official `Release` in GitHub

Once the tag has been pushed to the repository and the build has been verified, a `Release` should be created within GitHub matching the tag. This is a manual step that must be completed after the automation.
Once the tag has been pushed to the repository and the build process completed, new `Release` will be created automatically within GitHub matching the tag. Manual step is required to update release notes.

1. Navigate in a browser to [https://github.com/datastax/zdm-proxy/releases](https://github.com/datastax/zdm-proxy/releases) and select the `Draft a new release` button.
2. Select the `Choose a tag` button and select the previously pushed tag, in our example, `v1.1.0` from the dropdown.
3. Set the `Release title` to the same name as the tag, in our example, `v1.1.0`.
4. Paste the contents of the `RELEASE_NOTES` relevant to this release into text-area for `Describe the release`.
5. Click the `Publish release` button.
1. Navigate in a browser to [https://github.com/datastax/zdm-proxy/releases](https://github.com/datastax/zdm-proxy/releases).
2. Search for release matching new tag name and edit it.
3. Paste the contents of the `RELEASE_NOTES` relevant to this release into text-area for `Describe the release`.
4. Click the `Update release` button.

## Per-Merge Releases

Expand Down
2 changes: 1 addition & 1 deletion proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

// TODO: to be managed externally
const ZdmVersionString = "2.1.0"
const ZdmVersionString = "2.2.0"

var displayVersion = flag.Bool("version", false, "Display the ZDM proxy version and exit")

Expand Down

0 comments on commit b6f7573

Please sign in to comment.