Skip to content

Commit

Permalink
fix dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio9701 committed Jul 18, 2024
1 parent e4cb3f2 commit e44c87d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ jobs:
export PATH=/home/runner/.local/bin/:$PATH
VERSION=$( echo $GITHUB_REF | /bin/sed 's#.*/v##' )
SETUP_PLACEHOLDER='__version__ = "dev"'
SETUP_PLACEHOLDER='__version__ = "0.dev0"'
SETUP_FILE='setup.py'
DOCS_PLACEHOLDER='__version__'
DOCS_CONF_FILE='docs/source/conf.py'
grep "$PLACEHOLDER" "$SETUP_FILE"
/bin/sed -i "s/$SETUP_PLACEHOLDER/__version__ = \"${VERSION}\"/g" "$SETUP_FILE"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
install_requires = f.read().split("\n")[:-1]

# Set a development version for source installs
__version__ = "dev"
__version__ = "0.dev0"

setuptools.setup(
name="urbanpy",
Expand Down

0 comments on commit e44c87d

Please sign in to comment.