Skip to content

Commit

Permalink
Chore: Update release workflow triggers (#187)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Watkins <[email protected]>
  • Loading branch information
ModeSevenIndustrialSolutions authored Jul 19, 2024
1 parent b18cb30 commit 8b23abe
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ name: "πŸπŸ“¦ Old Production build and release"
on:
push:
# Only invoked on release tag pushes
branches:
- 'main'
- 'master'
tags:
- 'v*.*.*'

Expand All @@ -24,7 +21,7 @@ jobs:
build:
name: "🐍 Build packages"
# Only publish on tag pushes
# if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down Expand Up @@ -83,8 +80,6 @@ jobs:

github:
name: "πŸ“¦ Publish to GitHub"
# Only publish on tag pushes
# if: startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -116,8 +111,6 @@ jobs:

testpypi:
name: "πŸ“¦ Test publishing to PyPI"
# Only publish on tag pushes
# if: startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -150,8 +143,6 @@ jobs:

pypi:
name: "πŸ“¦ Publish to PyPi"
# Only publish on tag pushes
# if: startsWith(github.ref, 'refs/tags/')
needs:
- testpypi
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8b23abe

Please sign in to comment.