- Update changelog
- Fix whitespace formatting in song.py - make bump_version.py rewrite info.py instead of version.py
This commit is contained in:
parent
9f140e43c3
commit
e0617e0659
@ -8,18 +8,19 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
I try to follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
I try to follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
||||||
sometimes.
|
sometimes.
|
||||||
|
|
||||||
## v1.4.1
|
## v2.0.0
|
||||||
|
### BREAKING CHANGE
|
||||||
|
- Minimum required Python version is now 3.9
|
||||||
### Added
|
### Added
|
||||||
- 🎉 jubeatools finally has proper online docs on readthedocs.io ! 🎉
|
- 🎉 jubeatools finally has proper online docs on readthedocs.io ! 🎉
|
||||||
read them [here](https://jubeatools.readthedocs.io)
|
read them [here](https://jubeatools.readthedocs.io)
|
||||||
### Changed
|
### Changed
|
||||||
- [memo2] The parser now displays much friendlier error messages when
|
- [memo2] The parser now displays much friendlier error messages when
|
||||||
it finds uneven byte lengths in `#bpp=2` mode
|
it finds uneven byte lengths in `#bpp=2` mode
|
||||||
- Minimum required Python version is now 3.9
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- A fresh install of jubeatools would fail because of a API break in a
|
- A fresh install of jubeatools would fail because of a API break in a
|
||||||
transitive dependecy of `marshmallow-dataclass`, fixed by pin `typing-inspect`
|
transitive dependecy of `marshmallow-dataclass`, fixed by pinning
|
||||||
to `0.7.1`
|
`typing-inspect` to `0.7.1`
|
||||||
- Most loaders would incorrectly use the internal enum value name as difficulty
|
- Most loaders would incorrectly use the internal enum value name as difficulty
|
||||||
names for charts (like `Difficulty.EXTREME`) instead of the regular "display"
|
names for charts (like `Difficulty.EXTREME`) instead of the regular "display"
|
||||||
name (like `EXT`), not anymore !
|
name (like `EXT`), not anymore !
|
||||||
|
@ -91,7 +91,7 @@ class NotePosition(Position):
|
|||||||
"""
|
"""
|
||||||
A specific square on the controller. (0, 0) is the top-left button, x
|
A specific square on the controller. (0, 0) is the top-left button, x
|
||||||
goes right, y goes down.
|
goes right, y goes down.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
x →
|
x →
|
||||||
|
@ -19,14 +19,14 @@ with open("pyproject.toml") as f:
|
|||||||
version = pyproject["tool"]["poetry"]["version"]
|
version = pyproject["tool"]["poetry"]["version"]
|
||||||
repo_url = pyproject["tool"]["poetry"]["repository"]
|
repo_url = pyproject["tool"]["poetry"]["repository"]
|
||||||
|
|
||||||
with open("jubeatools/version.py", mode="w") as f:
|
with open("jubeatools/info.py", mode="w") as f:
|
||||||
f.write(f'__version__ = "{version}"\n')
|
f.write(f'__version__ = "{version}"\n')
|
||||||
f.write(f'__repository_url__ = "{repo_url}"\n')
|
f.write(f'__repository_url__ = "{repo_url}"\n')
|
||||||
|
|
||||||
if args.commit:
|
if args.commit:
|
||||||
subprocess.run(["git", "reset"])
|
subprocess.run(["git", "reset"])
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
["git", "add", "pyproject.toml", "jubeatools/version.py"], check=True
|
["git", "add", "pyproject.toml", "jubeatools/info.py"], check=True
|
||||||
)
|
)
|
||||||
subprocess.run(["git", "commit", "-m", f"Bump version to {version}"])
|
subprocess.run(["git", "commit", "-m", f"Bump version to {version}"])
|
||||||
subprocess.run(["git", "tag", f"v{version}"])
|
subprocess.run(["git", "tag", f"v{version}"])
|
||||||
|
Loading…
Reference in New Issue
Block a user