Skip to content

Commit

Permalink
fix: pypi version for test release
Browse files Browse the repository at this point in the history
  • Loading branch information
mscolnick committed Sep 4, 2024
1 parent f8e1850 commit beb9bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/marimo-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
uv-venv: marimo-venv

# patch __init__.py version to be of the form
# X.Y.Z-devN+test.{4char-hash}
# X.Y.Z-devN-test.{4char-hash}
- name: 🔨 Patch version number
run: |
# Get the version number
Expand All @@ -80,7 +80,7 @@ jobs:
# Generate a random 4 character hash
random_hash=$(openssl rand -hex 2)
# Form the new version with the random hash
MARIMO_VERSION="${current_version}-dev0+test.${random_hash}"
MARIMO_VERSION="${current_version}-dev0-test.${random_hash}"
# Set the version in the environment for later steps
echo "MARIMO_VERSION=$MARIMO_VERSION" >> $GITHUB_ENV
sed -i "s/__version__ = \".*\"/__version__ = \"$MARIMO_VERSION\"/" marimo/__init__.py
Expand Down

0 comments on commit beb9bf9

Please sign in to comment.