Skip to content

Commit

Permalink
6.1 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jun 27, 2024
1 parent ec50640 commit 559e21f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 95 deletions.
84 changes: 0 additions & 84 deletions .github/actions/sign_and_upload_package/action.yml

This file was deleted.

20 changes: 9 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
on:
push:
branches: [main]
pull_request:
branches: [main]
branches: ["6.1"]
workflow_dispatch: {}

permissions:
contents: write
pull-requests: write
id-token: write

name: release-latest
name: release-6.1

jobs:
release_please:
Expand All @@ -21,7 +19,7 @@ jobs:
- id: release
uses: googleapis/release-please-action@v4
with:
target-branch: main
target-branch: 6.1

build:
needs: [release_please]
Expand All @@ -41,17 +39,17 @@ jobs:
- uses: actions/checkout@v4

- name: Install Node and dependencies
uses: baileympearson/drivers-github-tools/node/setup@add-signing-env-action-for-node
uses: mongodb-labs/drivers-github-tools/node/setup@v2
with:
ignore_install_scripts: true

- name: Load version and package info
uses: baileympearson/drivers-github-tools/node/get_version_info@add-signing-env-action-for-node
uses: mongodb-labs/drivers-github-tools/node/get_version_info@v2
with:
npm_package_name: mongodb-client-encryption

- name: actions/compress_sign_and_upload
uses: baileympearson/drivers-github-tools/node/sign_node_package@add-signing-env-action-for-node
uses: mongodb-labs/drivers-github-tools/node/sign_node_package@v2
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
aws_region_name: us-east-1
Expand All @@ -77,7 +75,7 @@ jobs:
with:
release_version: ${{ env.package_version }}
product_name: mongodb-client-encryption
sarif_report_target_ref: main
sarif_report_target_ref: 6.1
third_party_dependency_tool: n/a
dist_filenames: artifacts/*
token: ${{ github.token }}
Expand All @@ -97,9 +95,9 @@ jobs:
- uses: actions/checkout@v4

- name: Install Node and dependencies
uses: baileympearson/drivers-github-tools/node/setup@add-signing-env-action-for-node
uses: mongodb-labs/drivers-github-tools/node/setup@v2

- run: npm publish --provenance --tag=latest
- run: npm publish --provenance --tag=6.1
if: ${{ needs.release_please.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 559e21f

Please sign in to comment.