-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add manifest generation and GH release
- Loading branch information
1 parent
e424baf
commit 363a9e2
Showing
4 changed files
with
123 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# MongoDB Connector Changelog | ||
This changelog documents the changes between release versions. | ||
|
||
## [Unreleased] | ||
Changes to be included in the next upcoming release | ||
|
||
- Improved error messages when unsupported enum types or unions of literal types are found, and allow these types to be used in relaxed types mode ([#17](https://github.com/hasura/ndc-nodejs-lambda/pull/17)) | ||
|
||
## [0.1.0] - 2024-03-14 | ||
TBD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -evo pipefail | ||
ROOT="$(pwd)" | ||
|
||
export LINUX_AMD64_SHA256=$(cat ${ROOT}/release/artifacts/sha256sum | grep hasura-mongodb-x86_64-unknown-linux-gnu | cut -f1 -d' ') | ||
export MACOS_AMD64_SHA256=$(cat ${ROOT}/release/artifacts/sha256sum | grep hasura-mongodb-x86_64-apple-darwin | cut -f1 -d' ') | ||
export WINDOWS_AMD64_SHA256=$(cat ${ROOT}/release/artifacts/sha256sum | grep hasura-mongodb-x86_64-pc-windows-msvc.exe | cut -f1 -d' ') | ||
export LINUX_ARM64_SHA256=$(cat ${ROOT}/release/artifacts/sha256sum | grep hasura-mongodb-aarch64-unknown-linux-gnu | cut -f1 -d' ') | ||
export MACOS_ARM64_SHA256=$(cat ${ROOT}/release/artifacts/sha256sum | grep hasura-mongodb-aarch64-apple-darwin | cut -f1 -d' ') | ||
|
||
(echo "cat <<EOF >${ROOT}/release/manifest.yaml"; | ||
cat ${ROOT}/scripts/manifest.yaml; echo; echo EOF; | ||
)>${ROOT}/release/manifest-tmp.yaml | ||
. ${ROOT}/release/manifest-tmp.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: ndc-mongo | ||
version: "${VERSION}" | ||
shortDescription: "CLI plugin for Hasura ndc-mongo" | ||
homepage: https://hasura.io/connectors/mongo | ||
platforms: | ||
- selector: darwin-arm64 | ||
uri: "https://github.com/hasura/ndc-mongo/releases/download/${VERSION}/hasura-mongodb-aarch64-apple-darwin" | ||
sha256: "${MACOS_ARM64_SHA256}" | ||
bin: "hasura-ndc-mongo" | ||
files: | ||
- from: "./hasura-mongodb-aarch64-apple-darwin" | ||
to: "hasura-ndc-mongo" | ||
- selector: linux-arm64 | ||
uri: "https://github.com/hasura/ndc-mongo/releases/download/${VERSION}/hasura-mongodb-aarch64-unknown-linux-gnu" | ||
sha256: "${LINUX_ARM64_SHA256}" | ||
bin: "hasura-ndc-mongo" | ||
files: | ||
- from: "./hasura-mongodb-aarch64-unknown-linux-gnu" | ||
to: "hasura-ndc-mongo" | ||
- selector: darwin-amd64 | ||
uri: "https://github.com/hasura/ndc-mongo/releases/download/${VERSION}/hasura-mongodb-x86_64-apple-darwin" | ||
sha256: "${MACOS_AMD64_SHA256}" | ||
bin: "hasura-ndc-mongo" | ||
files: | ||
- from: "./hasura-mongodb-x86_64-apple-darwin" | ||
to: "hasura-ndc-mongo" | ||
- selector: windows-amd64 | ||
uri: "https://github.com/hasura/ndc-mongo/releases/download/${VERSION}/hasura-mongodb-x86_64-pc-windows-msvc.exe" | ||
sha256: "${WINDOWS_AMD64_SHA256}" | ||
bin: "hasura-ndc-mongo.exe" | ||
files: | ||
- from: "./hasura-mongodb-x86_64-pc-windows-msvc.exe" | ||
to: "hasura-ndc-mongo.exe" | ||
- selector: linux-amd64 | ||
uri: "https://github.com/hasura/ndc-mongo/releases/download/${VERSION}/hasura-mongodb-x86_64-unknown-linux-gnu" | ||
sha256: "${LINUX_AMD64_SHA256}" | ||
bin: "hasura-ndc-mongo" | ||
files: | ||
- from: "./hasura-mongodb-x86_64-unknown-linux-gnu" | ||
to: "hasura-ndc-mongo" |