Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Jan 11, 2024
1 parent 6aa75ba commit 1f4bfba
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/ipl3checksum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down
8 changes: 4 additions & 4 deletions src/rs/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand All @@ -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]
Expand Down

0 comments on commit 1f4bfba

Please sign in to comment.