Skip to content

Commit

Permalink
fix: base path env var
Browse files Browse the repository at this point in the history
  • Loading branch information
CPU-Blanc committed Nov 24, 2024
1 parent f83f3e9 commit c21c2c7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com

## [Unreleased]

## [0.2.1] - 2024-11-24
### Fixed
- `SCRUBARR_SONARR_BASE_PATH` env variable not working

## [0.2.0] - 2024-11-23
### Breaking
- `SCRUBARR_SONARR_BASE_URL` environmental variable renamed to `SCRUBARR_SONARR_BASE_PATH`
Expand All @@ -33,7 +37,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com

Initial release

[Unreleased]: https://github.com/CPU-Blanc/scrubarr/compare/v0.2.0...HEAD
[Unreleased]: https://github.com/CPU-Blanc/scrubarr/compare/v0.2.1...HEAD
[0.2.1]: https://github.com/CPU-Blanc/scrubarr/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/CPU-Blanc/scrubarr/compare/v0.1.2...v0.2.0
[0.1.2]: https://github.com/CPU-Blanc/scrubarr/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/CPU-Blanc/scrubarr/compare/v0.1.0...v0.1.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 client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scrubarr"
version = "0.2.0"
version = "0.2.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion client/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub(super) struct Args {
pub(super) url: Url,

/// Sonarr URL base
#[arg(short, long, env="SCRUBARR_BASE_PATH")]
#[arg(short, long, env="SCRUBARR_SONARR_BASE_PATH")]
pub(super) base_path: Option<String>,

/// Queue scan interval (in seconds)
Expand Down

0 comments on commit c21c2c7

Please sign in to comment.