- 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
80ab963f89
commit
bd16f3f1cd
@ -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),
|
||||
sometimes.
|
||||
|
||||
## v1.4.1
|
||||
## v2.0.0
|
||||
### BREAKING CHANGE
|
||||
- Minimum required Python version is now 3.9
|
||||
### Added
|
||||
- 🎉 jubeatools finally has proper online docs on readthedocs.io ! 🎉
|
||||
read them [here](https://jubeatools.readthedocs.io)
|
||||
### Changed
|
||||
- [memo2] The parser now displays much friendlier error messages when
|
||||
it finds uneven byte lengths in `#bpp=2` mode
|
||||
- Minimum required Python version is now 3.9
|
||||
### Fixed
|
||||
- A fresh install of jubeatools would fail because of a API break in a
|
||||
transitive dependecy of `marshmallow-dataclass`, fixed by pin `typing-inspect`
|
||||
to `0.7.1`
|
||||
transitive dependecy of `marshmallow-dataclass`, fixed by pinning
|
||||
`typing-inspect` to `0.7.1`
|
||||
- Most loaders would incorrectly use the internal enum value name as difficulty
|
||||
names for charts (like `Difficulty.EXTREME`) instead of the regular "display"
|
||||
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
|
||||
goes right, y goes down.
|
||||
|
||||
|
||||
::
|
||||
|
||||
x →
|
||||
|
@ -19,14 +19,14 @@ with open("pyproject.toml") as f:
|
||||
version = pyproject["tool"]["poetry"]["version"]
|
||||
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'__repository_url__ = "{repo_url}"\n')
|
||||
|
||||
if args.commit:
|
||||
subprocess.run(["git", "reset"])
|
||||
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", "tag", f"v{version}"])
|
||||
|
Loading…
Reference in New Issue
Block a user