Skip to content

Commit

Permalink
Merge pull request #310 from stanislav-tkach/release-3-4-0
Browse files Browse the repository at this point in the history
Release the 3.4.0 version
  • Loading branch information
stanislav-tkach authored May 22, 2022
2 parents c1385ff + e65af14 commit f255a61
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [3.4.0] (2022-05-22)

- Gentoo Linux support has been added. (#307)

- FreeSBD detection has been fixed. (#309)

## [3.3.0] (2022-05-01)

- Fedora 35 (without `lsb_release`) detection has been fixed. (#293)
Expand Down Expand Up @@ -255,7 +261,8 @@ All notable changes to this project will be documented in this file.

The first release containing only minor infrastructural changes and based on [os_type](https://github.com/schultyy/os_type).

[Unreleased]: https://github.com/stanislav-tkach/os_info/compare/v3.3.0...HEAD
[Unreleased]: https://github.com/stanislav-tkach/os_info/compare/v3.4.0...HEAD
[3.4.0]: https://github.com/stanislav-tkach/os_info/compare/v3.3.0...v3.4.0
[3.3.0]: https://github.com/stanislav-tkach/os_info/compare/v3.2.0...v3.3.0
[3.2.0]: https://github.com/stanislav-tkach/os_info/compare/v3.1.0...v3.2.0
[3.1.0]: https://github.com/stanislav-tkach/os_info/compare/v3.0.9...v3.1.0
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "os_info"
path = "src/main.rs"

[dependencies]
os_info = { version = "3.3.0", default-features = false, path = "../os_info" }
os_info = { version = "3.4.0", default-features = false, path = "../os_info" }
log = "0.4.5"
env_logger = "0.9"
clap = { version = "3", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion os_info/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "os_info"
version = "3.3.0"
version = "3.4.0"
authors = ["Jan Schulte <[email protected]>", "Stanislav Tkach <[email protected]>"]
description = "Detect the operating system type and version."
documentation = "https://docs.rs/os_info"
Expand Down
1 change: 1 addition & 0 deletions os_info/src/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ mod tests {
Type::Emscripten,
Type::EndeavourOS,
Type::Fedora,
Type::Gentoo,
Type::Linux,
Type::Macos,
Type::Manjaro,
Expand Down
2 changes: 2 additions & 0 deletions os_info/src/os_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ impl Display for Type {
Type::Amazon => write!(f, "Amazon Linux AMI"),
Type::Arch => write!(f, "Arch Linux"),
Type::DragonFly => write!(f, "DragonFly BSD"),
Type::Gentoo => write!(f, "Gentoo Linux"),
Type::Illumos => write!(f, "illumos"),
Type::Macos => write!(f, "Mac OS"),
Type::MidnightBSD => write!(f, "Midnight BSD"),
Expand Down Expand Up @@ -127,6 +128,7 @@ mod tests {
(Type::Emscripten, "Emscripten"),
(Type::EndeavourOS, "EndeavourOS"),
(Type::Fedora, "Fedora"),
(Type::Gentoo, "Gentoo Linux"),
(Type::FreeBSD, "FreeBSD"),
(Type::Linux, "Linux"),
(Type::Macos, "Mac OS"),
Expand Down

0 comments on commit f255a61

Please sign in to comment.