Skip to content

Commit

Permalink
Release 0.20.1 (#67)
Browse files Browse the repository at this point in the history
Fix bug where tinted-builder-rust displays logging information when `cargo apply` is run
  • Loading branch information
JamyGolden authored Sep 25, 2024
1 parent b1e73dd commit 31f2cd8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.20.1] - 2024-09-25

### Fixed

- Fix bug where `tinted-builder-rust` displays build information by
default when `tinty apply` is run

## [0.20.0] - 2024-09-25

### Added
Expand Down Expand Up @@ -178,6 +185,7 @@

- Initial release

[0.20.1]: https://github.com/tinted-theming/tinty/compare/v0.20.0...v0.20.1
[0.20.0]: https://github.com/tinted-theming/tinty/compare/v0.19.0...v0.20.0
[0.19.0]: https://github.com/tinted-theming/tinty/compare/v0.18.0...v0.19.0
[0.18.0]: https://github.com/tinted-theming/tinty/compare/v0.17.0...v0.18.0
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
@@ -1,7 +1,7 @@
[package]
name = "tinty"
description = "Change the theme of your terminal, text editor and anything else with one command!"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
license = "MIT"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/operations/apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub fn apply(
let item_template_path: PathBuf =
data_path.join(format!("{}/{}", REPO_DIR, &item_name));

build(&item_template_path, custom_schemes_path, is_quiet)?;
build(&item_template_path, custom_schemes_path, true)?;
}

Ok(())
Expand Down
6 changes: 1 addition & 5 deletions tests/cli_apply_subcommand_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ fn test_cli_apply_subcommand_with_custom_schemes() -> Result<()> {
)?;
let custom_scheme_file_path =
data_path.join(format!("custom-schemes/base16/{}.yaml", scheme_name));
let expected_output = format!(
r#"Successfully generated "base16" themes for "base16" at "{}/repos/tinted-shell/scripts/*.sh"#,
data_path.display()
);
let current_scheme_path = data_path.join(CURRENT_SCHEME_FILE_NAME);
let scheme_content =
fs::read_to_string(Path::new("./tests/fixtures/schemes/tinty-generated.yaml"))?;
Expand All @@ -201,7 +197,7 @@ fn test_cli_apply_subcommand_with_custom_schemes() -> Result<()> {
scheme_name_with_system,
);
assert!(
stdout.contains(&expected_output),
stdout.is_empty(),
"stdout does not contain the expected output"
);
assert!(
Expand Down

0 comments on commit 31f2cd8

Please sign in to comment.