From 32963105ffc2f8e01b6b651c6ab16e95e0769ac2 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 22 Apr 2024 13:02:49 +0800 Subject: [PATCH] Fix release error --- .github/workflows/ci-cd.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index b359389..1f5b6e3 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -44,21 +44,10 @@ jobs: push-release-tag: needs: tests if: github.ref == 'refs/heads/master' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Download auto-version bump scripts - run: | - git clone https://github.com/QubitPi/hashicorp-aws.git ../hashicorp-aws - cp ../hashicorp-aws/.github/version-bump/tag-for-release.bash .github/ - cp ../hashicorp-aws/.github/version-bump/upversion.py .github/ - - name: Tag for release - run: | - git config --global user.name QubitPi - git config --global user.email jack20220723@gmail.com - .github/tag-for-release.bash + uses: QubitPi/hashicorp-aws/.github/workflows/version-bump.yml@master + with: + user: QubitPi + email: jack20220723@gmail.com release: name: Publish Python SDK To PyPI