Skip to content

Commit 4b70712

Browse files
committed
update version to v0.1.1
1 parent 9be1c8c commit 4b70712

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,19 @@ NOTE: The Docker Container uses the NDC Open API Lambda Connector CLI internally
6464

6565
```
6666
# get command documentation/help
67-
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v0.1.0 update -h
67+
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v0.1.1 update -h
6868
6969
# run the code generation (using env vars)
70-
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} ghcr.io/hasura/ndc-open-api-lambda:v0.1.0 update
70+
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} ghcr.io/hasura/ndc-open-api-lambda:v0.1.1 update
7171
7272
# run the code generation (using CLI flags)
73-
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.1.0 update --open-api ${url to open API document}
73+
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.1.1 update --open-api ${url to open API document}
7474
7575
# with baseUrl (using env vars)
76-
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} -e NDC_OAS_BASE_URL=http://demoapi.com/ ghcr.io/hasura/ndc-open-api-lambda:v0.1.0 update
76+
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} -e NDC_OAS_BASE_URL=http://demoapi.com/ ghcr.io/hasura/ndc-open-api-lambda:v0.1.1 update
7777
7878
# with baseUrl (using CLI flags)
79-
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.1.0 update --open-api ${url to open API document} --base-url http://demoapi.com/
79+
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.1.1 update --open-api ${url to open API document} --base-url http://demoapi.com/
8080
```
8181

8282
## Build and Run

changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
## [[0.1.1](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v0.1.1)] 2024-06-05
6+
57
- remove unused imports, organize imports and fix import issues ([#32](https://github.com/hasura/ndc-open-api-lambda/pull/32))
68

79
## [[0.1.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v0.1.0)] 2024-06-03

connector-definition/.hasura-connector/connector-metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ supportedEnvironmentVariables:
1212
description: "Overwrite previously generated functions.ts file and api.ts file"
1313
default: "false"
1414
commands:
15-
update: "docker run --rm -e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH -e NDC_OAS_BASE_URL -e NDC_OAS_DOCUMENT_URI -e NDC_OAS_LAMBDA_PRETTY_LOGS -e NDC_OAS_FILE_OVERWRITE -v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/etc/connector ghcr.io/hasura/ndc-open-api-lambda:v0.1.0 update"
15+
update: "docker run --rm -e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH -e NDC_OAS_BASE_URL -e NDC_OAS_DOCUMENT_URI -e NDC_OAS_LAMBDA_PRETTY_LOGS -e NDC_OAS_FILE_OVERWRITE -v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/etc/connector ghcr.io/hasura/ndc-open-api-lambda:v0.1.1 update"
1616
dockerComposeWatch:
1717
# Rebuild the container if a new package restore is required because package[-lock].json changed
1818
- path: package.json

release.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ The NDC Open API Lambda Connector uses GitHub Releases for release management.
1111
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} .`
1212
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](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry)
1313
7. Update [Changelog](./changelog.md)
14-
8. Create .tgz file of `connector-definition` using the commands (MacOS)
14+
8. Create .tgz file of `connector-definition` using the commands (MacOS)
15+
1516
```
1617
$ cd ndc-open-api-lambda/connector-definition
1718
$ tar -czf connector-definition.tgz .hasura-connector
1819
```
20+
1921
9. Create a GitHub Release and add the .tgz file as an asset

src/cli/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as updateCmd from "./update";
55
import { exec, execSync } from "child_process";
66

77
export const program = new Command()
8-
.version("0.1.0")
8+
.version("0.1.1")
99
.description("OAS Connector CLI")
1010
// .addCommand(initCmd.cmd) TODO: Enable when required by the CLI spec
1111
.addCommand(updateCmd.cmd)

0 commit comments

Comments
 (0)