mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
add tag after all of the python package published
This commit is contained in:
parent
c5b8c19ebc
commit
3d9034a1f5
21
.github/workflows/release.yaml
vendored
21
.github/workflows/release.yaml
vendored
@ -36,13 +36,6 @@ jobs:
|
||||
ref: main
|
||||
python-version: '3.11'
|
||||
token: ${{ secrets.CHECKOUT_PAT }}
|
||||
- name: Add tag and push to the repository
|
||||
run: |
|
||||
git config user.name "API Team"
|
||||
git config user.email "api-team@thousandeyes.com"
|
||||
|
||||
git tag ${{ github.event.inputs.releaseVersion }}
|
||||
git push origin ${{ github.event.inputs.releaseVersion }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
@ -60,4 +53,18 @@ jobs:
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
skip-existing: true
|
||||
add-tag:
|
||||
runs-on: ubuntu-latest
|
||||
needs: deployment
|
||||
steps:
|
||||
- name: Checkout latest code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Add tag and push to the repository
|
||||
run: |
|
||||
git config user.name "API Team"
|
||||
git config user.email "api-team@thousandeyes.com"
|
||||
|
||||
git tag ${{ github.event.inputs.releaseVersion }}
|
||||
git push origin ${{ github.event.inputs.releaseVersion }}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user