Skip to content

Commit

Permalink
Merge pull request #142 from hpsim/v0.1.0
Browse files Browse the repository at this point in the history
V0.1.0
  • Loading branch information
greole authored Sep 13, 2023
2 parents e62a311 + 6805a99 commit 386e68d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/valid_version_bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Verify Python Version Bump

on:
pull_request:
branches: [dev]

jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: rayepps/require-semver-bump@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
file: pyproject.toml
pattern: >
version = [\\'\\"](.+?)[\\'\\"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "obr"
version = "0.1.0"
version = "0.1.1"

dependencies = [
"click",
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def read(*names, **kwargs):

setup(
name="obr",
version="0.0.0",
license="BSD-2-Clause",
description="A tool to create and run OpenFOAM parameter studies",
long_description="%s\n%s"
Expand Down
4 changes: 3 additions & 1 deletion src/obr/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
__version__ = "0.0.0"
import importlib.metadata

__version__ = importlib.metadata.version("obr")

0 comments on commit 386e68d

Please sign in to comment.