/zeebe-changelog

Helper CLI to add release labels and generate changelog for Zeebe project

Primary LanguageGoApache License 2.0Apache-2.0

Zeebe Changelog

Build Status Go Report Card Release codecov

Generate changelog for Zeebe project.

Example usage

  export ZCL_FROM_REV=PREV_VERSION
  export ZCL_TARGET_REV=TARGET_VERSION

  # This will add labels to the issues in GitHub. You can verify this step by looking at closed issues. They should now be tagged with the release.
  zcl add-labels \
    --token=$GITHUB_TOKEN \
    --from=$ZCL_FROM_REV \
    --target=$ZCL_TARGET_REV \
    --label="version:$ZCL_TARGET_REV" \
    --org camunda --repo zeebe

  # This command will print markdown code to the console. You will need to manually insert this output into the release draft.
  zcl generate \
     --token=$GITHUB_TOKEN \
     --label="version:$ZCL_TARGET_REV" \
     --org camunda --repo zeebe

Release ZCL

  • [Prerequisite] Install goreleaser
    • We have experienced issues with the recent versions (likely the project is not compatible with the recent versions)
    • To overcome this we used (in the last releases): go install github.com/goreleaser/goreleaser@v1.0.0
  • Create a new tag with the latest changes:
    • Create tag local: git tag <version>
    • Push tag: git push origin <tag>
  • Release ZCL
    • Run goreleaser: $GOPATH/bin/goreleaser release
    • Verify on release page