From 087e92d838e8aa60b8e16b5d3158fc5f1e9f17f7 Mon Sep 17 00:00:00 2001 From: Sam Winebrake <85908068+samwinebrake@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:37:09 -0500 Subject: [PATCH] Update version bump publishing (#1455) * add sleep and clean of previous builds * update master branch --- .github/workflows/bump_version.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 069d547ca..96bc5fa09 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -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 @@ -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