Skip to content

Commit

Permalink
Update version bump publishing (#1455)
Browse files Browse the repository at this point in the history
* add sleep and clean of previous builds

* update master branch
  • Loading branch information
samwinebrake authored Nov 13, 2024
1 parent 202fbe8 commit 087e92d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,18 @@ jobs:
id-token: write

steps:
- name: Wait for Git operations to complete
run: sleep 30

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Fetch latest master
run: |
git fetch origin master
git checkout master
git pull origin master
- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -211,6 +220,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Clean previous builds
run: rm -rf dist/ build/

- name: Build package
run: python -m build
Expand Down

0 comments on commit 087e92d

Please sign in to comment.