Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 3.23 KB

MAINTAINING.md

File metadata and controls

63 lines (42 loc) · 3.23 KB

Maintaining Yorkie

Releasing a New Version

1. Update the version number.

2. Write changelog of this version in CHANGELOG.md.

Copy the release notes automatically generated by GitHub and categorize them as Added/Changed/Fixed.

  1. Click on the Releases in GitHub.
  2. Click on the Draft a new release button.
  3. Create a new tag.
  4. Click on the Generate release notes button.
  5. Copy the content generated into the body and categorize each item.

image

3. Create Pull Request for changelog and merge it into main.

4. Build binaries to attach a new release.

Executing the following command will generate five zip files for each operating system in the binaries folder.

$ make build-binaries

5. Publish a new release.

After creating the release in step 2, follow these steps:

  1. Attach the binary files built in step 4.
  2. Click on the Publish release button.

image

6. Deploy

1) Docker

When you publish the release in step 5, GitHub action will deploy Yorkie to Docker Hub.

2) Homebrew

Running the command below will automatically create a pull request for deploying to Homebrew.
Once the PR is merged to homebrew-core, Yorkie will also be deployed to Homebrew.

$ brew bump-formula-pr yorkie --tag v{YORKIE_VERSION}