Skip to content

Commit

Permalink
ci: remove vegafusion from blocking releases, assert current branch i…
Browse files Browse the repository at this point in the history
…n bump_version (#1470)
  • Loading branch information
MarcoGorelli authored Nov 30, 2024
1 parent 36eb1c8 commit 5efd051
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ on:


jobs:
slow-downstream-tests:
uses: ./.github/workflows/downstream_tests_slow.yml

build:
name: Build distribution 📦
needs: slow-downstream-tests
runs-on: ubuntu-latest

steps:
Expand Down
9 changes: 9 additions & 0 deletions utils/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
sys.exit(1)
subprocess.run(["git", "reset", "--hard", "upstream/main"])

if (
subprocess.run(
["git", "branch", "--show-current"], text=True, capture_output=True
).stdout.strip()
!= "bump-version"
):
msg = "`bump_version.py` should be run from `bump-version` branch"
raise RuntimeError(msg)

# Delete local tags, if present
try:
# Get the list of all tags
Expand Down

0 comments on commit 5efd051

Please sign in to comment.