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