Skip to content

Commit db902cc

Browse files
committed
fix(ci): fix versiontool oopsie
1 parent b3dfa5c commit db902cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
- name: Update version to dev
192192
id: update-version
193193
run: |
194-
NEW_VERSION="$(python scripts/ci/versiontool.py --set dev)"
194+
NEW_VERSION="$(poetry run scripts/versiontool.py --set dev)"
195195
git commit -a -m "chore: update version to v$NEW_VERSION"
196196
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
197197

scripts/versiontool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from pathlib import Path
1010
from typing import NamedTuple, NoReturn
1111

12-
TARGET_FILE = Path("disnake/__init__.py")
12+
TARGET_FILE = Path("src/disnake_compass/__init__.py")
1313
ORIG_INIT_CONTENTS = TARGET_FILE.read_text("utf-8")
1414

1515
version_re = re.compile(r"(\d+)\.(\d+)\.(\d+)(?:(a|b|rc)(\d+)?)?")

0 commit comments

Comments
 (0)