Skip to content

Commit

Permalink
adjust workflows to publish release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
stevedejong committed Oct 12, 2024
1 parent 073f6bf commit c98c619
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- master
jobs:
Code_Analysis_Job:
if: ${{ ! github.event.pull_request.head.repo.fork }}
runs-on: ubuntu-latest
environment: test
steps:
Expand All @@ -23,4 +24,4 @@ jobs:
env:
ULTRADNS_UNIT_TEST_USERNAME: ${{ secrets.ULTRADNS_UNIT_TEST_USERNAME }}
ULTRADNS_UNIT_TEST_PASSWORD: ${{ secrets.ULTRADNS_UNIT_TEST_PASSWORD }}
ULTRADNS_UNIT_TEST_HOST_URL: ${{ secrets.ULTRADNS_UNIT_TEST_HOST_URL }}
ULTRADNS_UNIT_TEST_HOST_URL: ${{ secrets.ULTRADNS_UNIT_TEST_HOST_URL }}
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
- master
jobs:
Code_Analysis_Job:
if: ${{ ! github.event.pull_request.head.repo.fork }}
runs-on: ubuntu-latest
environment: test
steps:
Expand Down Expand Up @@ -50,6 +49,11 @@ jobs:
-
name: Creating python Package
run: hatch build
-
name: create release Tag
run: |
git tag ${{ env.RELEASE_VERSION }}
git push origin ${{ env.RELEASE_VERSION }}
-
name: Publishing python Package
uses: pypa/[email protected]
Expand Down

0 comments on commit c98c619

Please sign in to comment.