Skip to content

Commit

Permalink
Merge pull request #137 from Ouranosinc/fix-version-tagging
Browse files Browse the repository at this point in the history
Fix version tagging and add coveralls
  • Loading branch information
Zeitsperre committed Dec 11, 2023
2 parents 59529e2 + fdcd975 commit f8f9d3c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"project_slug": "figanos",
"project_short_description": "Outils pour produire des graphiques informatifs sur les impacts des changements climatiques.",
"pypi_username": "Sarahclaude",
"version": "0.2.1",
"version": "0.2.0",
"use_pytest": "y",
"use_black": "y",
"use_conda": "y",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
strategy:
matrix:
include:
- tox-env: "py38"
- tox-env: "py38-coveralls"
python-version: "3.8"
- tox-env: "py39"
- tox-env: "py39-coveralls"
python-version: "3.9"
- tox-env: "py310"
- tox-env: "py310-coveralls"
python-version: "3.10"
- tox-env: "py311"
- tox-env: "py311-coveralls"
python-version: "3.11"
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion figanos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Sarah-Claude Bourdeau-Goulet"""
__email__ = "bourdeau-goulet.sarah-claude@ouranos.ca"
__version__ = "0.2.1"
__version__ = "0.2.0"

from . import matplotlib
from ._logo import Logos
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ target-version = [
]

[tool.bumpversion]
current_version = "0.2.1"
current_version = "0.2.0"
commit = true
tag = false
tag_name = "{new_version}"
tag_name = "v{new_version}"
allow_dirty = false
serialize = ["{major}.{minor}.{patch}"]
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_figanos.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ def test_package_metadata():
contents = f.read()
assert """Sarah-Claude Bourdeau-Goulet""" in contents
assert '__email__ = "bourdeau-goulet.sarah-claude@ouranos.ca"' in contents
assert '__version__ = "0.2.1"' in contents
assert '__version__ = "0.2.0"' in contents

0 comments on commit f8f9d3c

Please sign in to comment.