Skip to content

Commit 70b2cc9

Browse files
Remove path dependency for cargo release (#95)
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.
1 parent f8358b9 commit 70b2cc9

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ toml_edit = "0.14.4"
3434
urlencoding = "2.1.0"
3535
zip = "0.5"
3636
url = "2.4.1"
37-
artiaa_auth = { path = "./artiaa_auth" }
37+
artiaa_auth = { path = "./artiaa_auth", version = "1.0.0" }
3838
openssl = { version = "0.10.58", features = ["vendored"] }
3939

4040
[target.'cfg(windows)'.dependencies]

artiaa_auth/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl ArtifactoryAuthError {
2929
}
3030
}
3131

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

3434
impl fmt::Display for ArtifactoryAuthError {
3535
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

artiaa_auth/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ mod test {
5555
use serde_json::Value;
5656
use tempfile::{tempdir, TempDir};
5757

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

6060
const EXAMPLE_FILE: &str = r#"{
6161
"tokens": {

0 commit comments

Comments
 (0)