Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.62 KB

release.md

File metadata and controls

21 lines (16 loc) · 1.62 KB

Release

The NDC Open API Lambda Connector uses GitHub Releases for release management.

Release Process

  1. Use Git Tags for release. Tags should be in the format of Semver: vMajor.Minor.Patch. Release branches should have the format release/{version}.
  2. Add this tag value to the version field of the CLI here
  3. Add the tagged version of the Docker Image in the update command of the connector-metadata here and here
  4. Update examples in the README
  5. Build a cross platform Docker Image using the command docker buildx build --platform=linux/amd64,linux/arm64 -t ghcr.io/hasura/ndc-open-api-lambda:${git-tag} .
  6. Publish a Docker Image to GHCR with the name ghcr.io/hasura/ndc-open-api-lambda and the version tagged with the Git Tag using docker push ${image:tag}. More on GHRC
  7. Update Changelog
  8. Create .tgz file of connector-definition using the commands (MacOS)
$ cd ndc-open-api-lambda/connector-definition
$ tar -czf connector-definition.tgz .hasura-connector
  1. Create a GitHub Release and add the .tgz file as an asset