Skip to content

Commit 1468d6a

Browse files
authored
revert version bump and fix release tag (#3013)
1 parent 9f6046f commit 1468d6a

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
env:
5656
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5757
with:
58-
tag_name: ${{ steps.bump_version.outputs.new_version }}
59-
release_name: Darts ${{ github.event.inputs.bump_type }} ${{ steps.bump_version.outputs.new_version }}
58+
tag_name: ${{ steps.bump_version.outputs.current-version }}
59+
release_name: Darts ${{ github.event.inputs.bump_type }} ${{ steps.bump_version.outputs.current-version }}
6060
draft: false
6161
body_path: .github/RELEASE_TEMPLATE/release_body.md
6262

darts/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
to_group_dataframe,
2020
)
2121

22-
__version__ = "0.41.0"
22+
__version__ = "0.40.0"
2323

2424
__all__ = [
2525
"TimeSeries",

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
project = "darts"
2323
copyright = f"2020 - {datetime.now().year}, Unit8 SA (Apache 2.0 License)"
2424
author = "Unit8 SA"
25-
version = "0.41.0"
25+
version = "0.40.0"
2626

2727

2828
# -- General configuration ---------------------------------------------------

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "darts"
7-
version = "0.41.0"
7+
version = "0.40.0"
88
description = "A python library for easy manipulation and forecasting of time series."
99
readme = "README.md"
1010
requires-python = ">=3.10"
@@ -190,11 +190,12 @@ dev-all = [
190190
]
191191

192192
[tool.bumpversion]
193-
current_version = "0.41.0"
193+
current_version = "0.40.0"
194194
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
195195
serialize = ["{major}.{minor}.{patch}"]
196196
commit = true
197197
tag = true
198+
tag_name = "{new_version}"
198199
message = "Bump version: {current_version} → {new_version}"
199200

200201
[[tool.bumpversion.files]]

0 commit comments

Comments
 (0)