Skip to content

Commit

Permalink
Remove path dependency for cargo release (#95)
Browse files Browse the repository at this point in the history
At some point we added a path dependency to Foreman which blocked our
cargo releases. This PR looks to set up `artiaa_auth` to be published so
we can publish Foreman again.
  • Loading branch information
afujiwara-roblox authored May 1, 2024
1 parent f8358b9 commit 70b2cc9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ toml_edit = "0.14.4"
urlencoding = "2.1.0"
zip = "0.5"
url = "2.4.1"
artiaa_auth = { path = "./artiaa_auth" }
artiaa_auth = { path = "./artiaa_auth", version = "1.0.0" }
openssl = { version = "0.10.58", features = ["vendored"] }

[target.'cfg(windows)'.dependencies]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion artiaa_auth/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl ArtifactoryAuthError {
}
}

const ARTIFACTORY_AUTH_HELP: &str = include_str!("../../resources/artiaa-format.json");
const ARTIFACTORY_AUTH_HELP: &str = include_str!("../resources/artiaa-format.json");

impl fmt::Display for ArtifactoryAuthError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down
2 changes: 1 addition & 1 deletion artiaa_auth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mod test {
use serde_json::Value;
use tempfile::{tempdir, TempDir};

const SCHEMA: &str = include_str!("../../resources/artiaa-format.json");
const SCHEMA: &str = include_str!("../resources/artiaa-format.json");

const EXAMPLE_FILE: &str = r#"{
"tokens": {
Expand Down

0 comments on commit 70b2cc9

Please sign in to comment.