Skip to content

Commit

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

## [Unreleased]

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

- Fedora 35 (without `lsb_release`) detection has been fixed. (#293)

- HardenedBSD support has been added. (#295)

- Mariner support has been added. (#299)

- Illumos support has been added. (#305)

## [3.2.0] (2022-02-04)

- MidnightBSD support has been added. (#290)
Expand Down Expand Up @@ -245,7 +255,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.2.0...HEAD
[Unreleased]: https://github.com/stanislav-tkach/os_info/compare/v3.3.0...HEAD
[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
[3.0.9]: https://github.com/stanislav-tkach/os_info/compare/v3.0.8...v3.0.9
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.2.0", default-features = false, path = "../os_info" }
os_info = { version = "3.3.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.2.0"
version = "3.3.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
6 changes: 3 additions & 3 deletions os_info/src/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ fn get_os() -> Type {
.output()
.expect("Failed to check if is hardened");
match str::from_utf8(&check_hardening.stderr) {
Ok("0\n") => return Type::HardenedBSD,
Ok(_) => return Type::Unknown,
Err(_) => return Type::FreeBSD,
Ok("0\n") => Type::HardenedBSD,
Ok(_) => Type::Unknown,
Err(_) => Type::FreeBSD,
}
}
Ok("MidnightBSD\n") => Type::MidnightBSD,
Expand Down

0 comments on commit a80877c

Please sign in to comment.