From 5503bdacd27a6ab2237a032475dd58424a7f7309 Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Mon, 15 Jul 2024 15:16:06 -0400 Subject: [PATCH] chore: prepare for non-prerelease --- .github/workflows/build.yml | 31 ------------------------------- .github/workflows/release_6.1.yml | 2 +- release-please-config.json | 3 +-- 3 files changed, 2 insertions(+), 34 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 765e02a..89b16d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,34 +68,3 @@ jobs: if-no-files-found: 'error' retention-days: 1 compression-level: 0 - - release_please: - needs: [host_builds, container_builds] - runs-on: ubuntu-latest - outputs: - release_created: ${{ steps.release.outputs.release_created }} - steps: - - id: release - uses: googleapis/release-please-action@v4 - - sign_and_upload: - needs: [release_please] - if: ${{ needs.release_please.outputs.release_created }} - runs-on: ubuntu-latest - environment: release - steps: - - uses: actions/checkout@v4 - - name: Install Node and dependencies - uses: mongodb-labs/drivers-github-tools/node/setup@v2 - with: - ignore_install_scripts: true - - name: actions/sign_and_upload_package - uses: ./.github/actions/sign_and_upload_package - with: - aws_role_arn: ${{ secrets.AWS_ROLE_ARN }} - aws_region_name: 'us-east-1' - aws_secret_id: ${{ secrets.AWS_SECRET_ID }} - npm_package_name: 'mongodb-client-encryption' - - run: npm publish --provenance --tag=alpha - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release_6.1.yml b/.github/workflows/release_6.1.yml index b64fe76..7be2432 100644 --- a/.github/workflows/release_6.1.yml +++ b/.github/workflows/release_6.1.yml @@ -100,7 +100,7 @@ jobs: with: ignore_install_scripts: true - - run: npm publish --provenance --tag=alpha + - run: npm publish --provenance if: ${{ needs.release_please.outputs.release_created }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/release-please-config.json b/release-please-config.json index 2bb2f6b..7c6667d 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -7,8 +7,7 @@ "release-type": "node", "bump-minor-pre-major": false, "bump-patch-for-minor-pre-major": false, - "draft": false, - "prerelease": true + "draft": false } }, "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"