diff --git a/.github/workflows/force-release.yml b/.github/workflows/force-release.yml index 627ff7ccbe6..8340fa0cf30 100644 --- a/.github/workflows/force-release.yml +++ b/.github/workflows/force-release.yml @@ -102,7 +102,6 @@ jobs: sed -i -e '/API.typescript.md/,/You can also visit a hosted version/!b' -e 'd' .repo/dist/go/*/README.md sed -i 's|Find auto-generated docs for this provider here:|Find auto-generated docs for this provider [here](https://github.com/cdktf/cdktf-provider-googlebeta/blob/main/docs/API.go.md).|' .repo/dist/go/*/README.md sed -i -e '/### Provider Version/,/The provider version can be adjusted/!b' -e 'd' .repo/dist/go/*/README.md - continue-on-error: true - name: Copy the README file to the parent directory run: cp .repo/dist/go/*/README.md .repo/dist/go/README.md - name: Collect go Artifact diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af86930b971..74f2b10c5f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,9 @@ jobs: env: NPM_REGISTRY: registry.npmjs.org NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm deprecate @cdktf/provider-google-beta "See https://cdk.tf/imports for details on how to continue to use the google-beta provider in your CDK for Terraform (CDKTF) projects by generating the bindings locally." + run: |- + npm set "//$NPM_REGISTRY/:_authToken=$NPM_TOKEN" + npm deprecate @cdktf/provider-google-beta "See https://cdk.tf/imports for details on how to continue to use the google-beta provider in your CDK for Terraform (CDKTF) projects by generating the bindings locally." release_github: name: Publish to GitHub Releases needs: release @@ -380,7 +382,6 @@ jobs: sed -i -e '/API.typescript.md/,/You can also visit a hosted version/!b' -e 'd' .repo/dist/go/*/README.md sed -i 's|Find auto-generated docs for this provider here:|Find auto-generated docs for this provider [here](https://github.com/cdktf/cdktf-provider-googlebeta/blob/main/docs/API.go.md).|' .repo/dist/go/*/README.md sed -i -e '/### Provider Version/,/The provider version can be adjusted/!b' -e 'd' .repo/dist/go/*/README.md - continue-on-error: true - name: Copy the README file to the parent directory run: cp .repo/dist/go/*/README.md .repo/dist/go/README.md - name: Collect go Artifact diff --git a/yarn.lock b/yarn.lock index 8ca42435600..7a20ca62d97 100644 --- a/yarn.lock +++ b/yarn.lock @@ -201,9 +201,9 @@ jsii-srcmak "^0.1.954" "@cdktf/provider-project@^0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.5.0.tgz#516a12d2ee203cc428069f228cdf29a6a470205c" - integrity sha512-HiIkwen1BSk5pM3CJf88i2xOAwqFvm5b7Ow6w5As5dI9riYtHTU0aZ2ONOHnCzKyfj0UXGIWDKJKvzCJP9VgcQ== + version "0.5.3" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.5.3.tgz#09cf130a611791b6a0984409107afd5b5527a91c" + integrity sha512-6UyY84u6A+f0Xsel0kabsqQN4srBIwa4/BFHuZqmSW4DqVbYobd+9wj3EF/Fd0HGnR9elOvZw86WP9zOCIovHA== dependencies: change-case "^4.1.2" fs-extra "^10.1.0"