The NDC Open API Lambda Connector uses GitHub Releases for release management.
- Use Git Tags for release. Tags should be in the format of Semver:
vMajor.Minor.Patch
. Release branches should have the formatrelease/{version}
. - Add this tag value to the
version
field of the CLI here - Add the tagged version of the Docker Image in the
update
command of the connector-metadata here and here - Update examples in the README
- 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} .
- Publish a Docker Image to GHCR with the name
ghcr.io/hasura/ndc-open-api-lambda
and the version tagged with the Git Tag usingdocker push ${image:tag}
. More on GHRC - Update Changelog
- Create .tgz file of
connector-definition
using the commands (MacOS)
$ cd ndc-open-api-lambda/connector-definition
$ tar -czf connector-definition.tgz .hasura-connector
- Create a GitHub Release and add the .tgz file as an asset