Skip to content

Commit

Permalink
Allow server tags without making a PyPI release
Browse files Browse the repository at this point in the history
Decouple releases of Butler server containers from the PyPI release by adding a check to skip tags in the form 'server/x.y.z'.
  • Loading branch information
dhirving committed Feb 2, 2024
1 parent 97c358c commit 2b1a9ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ jobs:
pypi:
runs-on: ubuntu-latest
needs: [build_and_test]
if: startsWith(github.ref, 'refs/tags/')
# The "not starts with 's'" is meant to catch server release tags in the
# form 'server/x.y.z'
if: startsWith(github.ref, 'refs/tags') && ! startsWith(github.ref, 'refs/tags/s')

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 2b1a9ab

Please sign in to comment.