From 74f8b86b8eb543a970c90e7c143042303650c34a Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 17 Sep 2025 14:16:15 -0500 Subject: [PATCH 1/5] DRIVERS-3232 Fix tag command --- bump-version/action.yml | 2 +- tag-version/action.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bump-version/action.yml b/bump-version/action.yml index d069443..be9008c 100644 --- a/bump-version/action.yml +++ b/bump-version/action.yml @@ -36,7 +36,7 @@ runs: export COMMIT_MESSAGE=$(echo "${{ inputs.commit_template }}" | envsubst) echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> $GITHUB_ENV - name: Commit the version bump - uses: mongodb-labs/drivers-github-tools/git-sign@v3 + uses: mongodb-labs/drivers-github-tools/git-sign@DRIVERS-3232-test with: command: git commit -a -m \"${{ env.COMMIT_MESSAGE }}\" -s --gpg-sign=${{ env.GPG_KEY_ID }} ecr_repository: ${{ inputs.ecr_repository }} diff --git a/tag-version/action.yml b/tag-version/action.yml index 00269dc..c8ae0b8 100644 --- a/tag-version/action.yml +++ b/tag-version/action.yml @@ -33,9 +33,9 @@ runs: export TAG_MESSAGE=$(echo "${{ inputs.tag_message_template }}" | envsubst) echo "TAG_MESSAGE=$TAG_MESSAGE" >> $GITHUB_ENV - name: Tag the version - uses: mongodb-labs/drivers-github-tools/git-sign@v3 + uses: mongodb-labs/drivers-github-tools/git-sign@DRIVERS-3232 with: - command: git tag -a \"${{ env.TAG }}\" -m \"${{ env.TAG_MESSAGE }}\" -s --local-user=${{ env.GPG_KEY_ID }} + command: git tag -a "${{ env.TAG }}" -m "${{ env.TAG_MESSAGE }}" -s --local-user=${{ env.GPG_KEY_ID }} ecr_repository: ${{ inputs.ecr_repository }} - name: Verify the tag shell: bash -eux {0} From f166a65a091a6390709e73dbf9869855990e0f48 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 17 Sep 2025 14:22:31 -0500 Subject: [PATCH 2/5] debug --- python/pre-publish/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pre-publish/action.yml b/python/pre-publish/action.yml index c1ab3c6..5e01e53 100644 --- a/python/pre-publish/action.yml +++ b/python/pre-publish/action.yml @@ -71,7 +71,7 @@ runs: working_directory: ${{ inputs.working_directory }} push_commit: ${{ env.PUSH_CHANGES }} - name: Tag version - uses: mongodb-labs/drivers-github-tools/tag-version@v3 + uses: mongodb-labs/drivers-github-tools/tag-version@@DRIVERS-3232-test with: version: ${{ env.VERSION }} tag_template: ${{ inputs.tag_template }} From 53479976bcdee526183ac761d44cb325ead53d6f Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 17 Sep 2025 14:23:13 -0500 Subject: [PATCH 3/5] debug --- python/pre-publish/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pre-publish/action.yml b/python/pre-publish/action.yml index 5e01e53..b9812f3 100644 --- a/python/pre-publish/action.yml +++ b/python/pre-publish/action.yml @@ -71,7 +71,7 @@ runs: working_directory: ${{ inputs.working_directory }} push_commit: ${{ env.PUSH_CHANGES }} - name: Tag version - uses: mongodb-labs/drivers-github-tools/tag-version@@DRIVERS-3232-test + uses: mongodb-labs/drivers-github-tools/tag-version@@DRIVERS-3232-fix with: version: ${{ env.VERSION }} tag_template: ${{ inputs.tag_template }} From fe60ff5b7445b94b1db0cfdf19f80cbc1fb6d58c Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 17 Sep 2025 14:24:06 -0500 Subject: [PATCH 4/5] debug --- python/pre-publish/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pre-publish/action.yml b/python/pre-publish/action.yml index b9812f3..36153ba 100644 --- a/python/pre-publish/action.yml +++ b/python/pre-publish/action.yml @@ -71,7 +71,7 @@ runs: working_directory: ${{ inputs.working_directory }} push_commit: ${{ env.PUSH_CHANGES }} - name: Tag version - uses: mongodb-labs/drivers-github-tools/tag-version@@DRIVERS-3232-fix + uses: mongodb-labs/drivers-github-tools/tag-version@DRIVERS-3232-fix with: version: ${{ env.VERSION }} tag_template: ${{ inputs.tag_template }} From e6d5e7bd8e249091b8b5499ed016ab991d20a43f Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 17 Sep 2025 14:29:41 -0500 Subject: [PATCH 5/5] back to v3 --- bump-version/action.yml | 2 +- python/pre-publish/action.yml | 2 +- tag-version/action.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bump-version/action.yml b/bump-version/action.yml index be9008c..d069443 100644 --- a/bump-version/action.yml +++ b/bump-version/action.yml @@ -36,7 +36,7 @@ runs: export COMMIT_MESSAGE=$(echo "${{ inputs.commit_template }}" | envsubst) echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> $GITHUB_ENV - name: Commit the version bump - uses: mongodb-labs/drivers-github-tools/git-sign@DRIVERS-3232-test + uses: mongodb-labs/drivers-github-tools/git-sign@v3 with: command: git commit -a -m \"${{ env.COMMIT_MESSAGE }}\" -s --gpg-sign=${{ env.GPG_KEY_ID }} ecr_repository: ${{ inputs.ecr_repository }} diff --git a/python/pre-publish/action.yml b/python/pre-publish/action.yml index 36153ba..c1ab3c6 100644 --- a/python/pre-publish/action.yml +++ b/python/pre-publish/action.yml @@ -71,7 +71,7 @@ runs: working_directory: ${{ inputs.working_directory }} push_commit: ${{ env.PUSH_CHANGES }} - name: Tag version - uses: mongodb-labs/drivers-github-tools/tag-version@DRIVERS-3232-fix + uses: mongodb-labs/drivers-github-tools/tag-version@v3 with: version: ${{ env.VERSION }} tag_template: ${{ inputs.tag_template }} diff --git a/tag-version/action.yml b/tag-version/action.yml index c8ae0b8..9a4d69b 100644 --- a/tag-version/action.yml +++ b/tag-version/action.yml @@ -33,7 +33,7 @@ runs: export TAG_MESSAGE=$(echo "${{ inputs.tag_message_template }}" | envsubst) echo "TAG_MESSAGE=$TAG_MESSAGE" >> $GITHUB_ENV - name: Tag the version - uses: mongodb-labs/drivers-github-tools/git-sign@DRIVERS-3232 + uses: mongodb-labs/drivers-github-tools/git-sign@v3 with: command: git tag -a "${{ env.TAG }}" -m "${{ env.TAG_MESSAGE }}" -s --local-user=${{ env.GPG_KEY_ID }} ecr_repository: ${{ inputs.ecr_repository }}