From 1f4bfba4e10ac688cbd42495af35b870670d374d Mon Sep 17 00:00:00 2001 From: angie Date: Thu, 11 Jan 2024 18:01:07 -0300 Subject: [PATCH] version bump --- CHANGELOG.md | 3 +++ Cargo.lock | 2 +- Cargo.toml | 2 +- pyproject.toml | 2 +- src/ipl3checksum/__init__.py | 4 ++-- src/rs/version.rs | 8 ++++---- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 823dc31..21d54a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.0] - 2024-01-11 + ### Added - `CICKind.get_entrypoint`: Returns the entrypoint address that would be used @@ -76,6 +78,7 @@ version of the library. - Initial relase [unreleased]: https://github.com/Decompollaborate/ipl3checksum/compare/main...develop +[1.2.0]: https://github.com/Decompollaborate/ipl3checksum/compare/1.1.1...1.2.0 [1.1.1]: https://github.com/Decompollaborate/ipl3checksum/compare/1.1.0...1.1.1 [1.1.0]: https://github.com/Decompollaborate/ipl3checksum/compare/1.0.1...1.1.0 [1.0.1]: https://github.com/Decompollaborate/ipl3checksum/compare/1.0.0...1.0.1 diff --git a/Cargo.lock b/Cargo.lock index 583a862..8a369fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -34,7 +34,7 @@ checksum = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" [[package]] name = "ipl3checksum" -version = "1.1.2" +version = "1.2.0" dependencies = [ "md5", "pyo3", diff --git a/Cargo.toml b/Cargo.toml index e5d1ae7..d434698 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "ipl3checksum" # Version should be synced with src/ipl3checksum/__init__.py, pyproject.toml and src/rs/version.rs -version = "1.1.2" +version = "1.2.0" edition = "2021" description = "Library to calculate the IPL3 checksum for N64 ROMs" repository = "https://github.com/decompollaborate/ipl3checksum" diff --git a/pyproject.toml b/pyproject.toml index dcbb787..6248e47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ [project] name = "ipl3checksum" # Version should be synced with src/ipl3checksum/__init__.py, Cargo.toml and src/rs/version.rs -version = "1.1.2.dev0" +version = "1.2.0" description = "Library to calculate the IPL3 checksum for N64 ROMs" readme = "README.md" requires-python = ">=3.7" diff --git a/src/ipl3checksum/__init__.py b/src/ipl3checksum/__init__.py index 211b6e6..372d033 100644 --- a/src/ipl3checksum/__init__.py +++ b/src/ipl3checksum/__init__.py @@ -6,8 +6,8 @@ from __future__ import annotations # Version should be synced with pyproject.toml, Cargo.toml and src/rs/version.rs -__version_info__: tuple[int, int, int] = (1, 1, 2) -__version__ = ".".join(map(str, __version_info__)) + ".dev0" +__version_info__: tuple[int, int, int] = (1, 2, 0) +__version__ = ".".join(map(str, __version_info__)) __author__ = "Decompollaborate" from .ipl3checksum import * diff --git a/src/rs/version.rs b/src/rs/version.rs index 6a982a8..eccf704 100644 --- a/src/rs/version.rs +++ b/src/rs/version.rs @@ -3,13 +3,13 @@ // Version should be synced with pyproject.toml, Cargo.toml and src/ipl3checksum/__init__.py pub static VERSION_MAJOR: i32 = 1; -pub static VERSION_MINOR: i32 = 1; -pub static VERSION_PATCH: i32 = 2; +pub static VERSION_MINOR: i32 = 2; +pub static VERSION_PATCH: i32 = 0; pub static VERSION_INFO: (i32, i32, i32) = (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH); // TODO: figure out a way to construct this string by using VERSION_MAJOR, VERSION_MINOR and VERSION_PATCH (concat! and stringify! didn't work) -pub static VERSION_STR: &str = "1.1.2"; +pub static VERSION_STR: &str = "1.2.0"; pub static AUTHOR: &str = "Decompollaborate"; @@ -24,7 +24,7 @@ mod c_bindings { // TODO: construct this from super::VERSION_STR #[no_mangle] - static ipl3checksum_version_str: &[u8] = b"1.1.2\0"; + static ipl3checksum_version_str: &[u8] = b"1.2.0\0"; // TODO: construct this from super::AUTHOR #[no_mangle]