From f4edebf916da226798dd04650c97a5e002fef02e Mon Sep 17 00:00:00 2001 From: Mark Gerrard Date: Fri, 12 Jul 2024 12:29:09 +0100 Subject: [PATCH] Uncomment package changes --- .github/workflows/generate.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/generate.yaml b/.github/workflows/generate.yaml index 90f6f52..224e0f2 100644 --- a/.github/workflows/generate.yaml +++ b/.github/workflows/generate.yaml @@ -26,12 +26,12 @@ jobs: apimatic auth:login --auth-key=${{ secrets.APIMATIC_AUTH_KEY }} apimatic sdk:generate --destination=sdks/ts --platform TYPESCRIPT --file=openapi.yaml - #- name: Set publishing coordiates - # working-directory: ./sdks/ts/openapi_sdk_typescript - # run: | - # echo '{ "version": "1.0.${{ github.run_number }}", "name": "@wiremock-inc/apimatic-sdkgen-demo", "repository": "github:wiremock-inc/apimatic-sdkgen-demo" }' > package-patch.json - # jq -r -s '.[0] * .[1]' package.json package-patch.json > tmp.json - # mv -f tmp.json package.json + - name: Set publishing coordiates + working-directory: ./sdks/ts/openapi_sdk_typescript + run: | + echo '{ "version": "1.0.${{ github.run_number }}", "name": "@wiremock-inc/apimatic-sdkgen-demo", "repository": "github:wiremock-inc/apimatic-sdkgen-demo" }' > package-patch.json + jq -r -s '.[0] * .[1]' package.json package-patch.json > tmp.json + mv -f tmp.json package.json - name: Authenticate with private NPM package working-directory: ./sdks/ts/openapi_sdk_typescript