From a8e75f6164b0faac35f1c4fb160253c6759300b1 Mon Sep 17 00:00:00 2001 From: nathaniel Date: Sun, 20 Nov 2022 13:08:54 -0500 Subject: [PATCH] fix/publish-crates-io --- .github/workflows/publish-template.yml | 1 - burn-autodiff/Cargo.toml | 4 ++-- burn-ndarray/Cargo.toml | 6 +++--- burn-tch/Cargo.toml | 6 +++--- burn-tensor/Cargo.toml | 2 +- burn/Cargo.toml | 12 ++++++------ 6 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish-template.yml b/.github/workflows/publish-template.yml index 3c50723a57..9586fd14b7 100644 --- a/.github/workflows/publish-template.yml +++ b/.github/workflows/publish-template.yml @@ -20,7 +20,6 @@ jobs: with: profile: minimal toolchain: stable - override: true - name: publish to crates.io run: ./ci/publish.sh ${{ inputs.crate }} diff --git a/burn-autodiff/Cargo.toml b/burn-autodiff/Cargo.toml index e548d07855..e3a5aa8546 100644 --- a/burn-autodiff/Cargo.toml +++ b/burn-autodiff/Cargo.toml @@ -15,7 +15,7 @@ default = ["export_tests"] export_tests = ["burn-tensor-testgen"] [dependencies] -burn-tensor-testgen = { path = "../burn-tensor-testgen", optional = true } -burn-tensor = { path = "../burn-tensor" } +burn-tensor-testgen = { version = "0.3.0", path = "../burn-tensor-testgen", optional = true } +burn-tensor = { version = "0.3.0", path = "../burn-tensor" } derive-new = "0.5" nanoid = "0.4" diff --git a/burn-ndarray/Cargo.toml b/burn-ndarray/Cargo.toml index ef488af1d6..ccc746ae7e 100644 --- a/burn-ndarray/Cargo.toml +++ b/burn-ndarray/Cargo.toml @@ -18,7 +18,7 @@ blas-openblas = ["ndarray/blas", "blas-src/openblas", "openblas-src"] blas-openblas-system = ["ndarray/blas", "blas-src/openblas", "openblas-src/system"] [dependencies] -burn-tensor = { path = "../burn-tensor" } +burn-tensor = { version = "0.3.0", path = "../burn-tensor" } blas-src = { version = "0.8.0", default-features = false, optional = true } openblas-src = { version = "0.10", optional = true } @@ -29,5 +29,5 @@ rand = "0.8" num-traits = "0.2" [dev-dependencies] -burn-tensor = { path = "../burn-tensor", features = ["export_tests"] } -burn-autodiff = { path = "../burn-autodiff", features = ["export_tests"] } +burn-tensor = { version = "0.3.0", path = "../burn-tensor", features = ["export_tests"] } +burn-autodiff = { version = "0.3.0", path = "../burn-autodiff", features = ["export_tests"] } diff --git a/burn-tch/Cargo.toml b/burn-tch/Cargo.toml index a912d333a1..ac3f25f7f1 100644 --- a/burn-tch/Cargo.toml +++ b/burn-tch/Cargo.toml @@ -15,12 +15,12 @@ edition = "2021" doc = ["tch/doc-only"] [dependencies] -burn-tensor = { path = "../burn-tensor", default-features = false } +burn-tensor = { version = "0.3.0", path = "../burn-tensor", default-features = false } rand = "0.8" tch = { version = "0.8" } lazy_static = "1.4" half = { version = "1.6", features = ["num-traits"] } # needs to be 1.6 to work with tch [dev-dependencies] -burn-tensor = { path = "../burn-tensor", default-features = false, features = ["export_tests"] } -burn-autodiff = { path = "../burn-autodiff", default-features = false, features = ["export_tests"] } +burn-tensor = { version = "0.3.0", path = "../burn-tensor", default-features = false, features = ["export_tests"] } +burn-autodiff = { version = "0.3.0", path = "../burn-autodiff", default-features = false, features = ["export_tests"] } diff --git a/burn-tensor/Cargo.toml b/burn-tensor/Cargo.toml index f4fc4decb1..4553b6de58 100644 --- a/burn-tensor/Cargo.toml +++ b/burn-tensor/Cargo.toml @@ -19,7 +19,7 @@ default = [] export_tests = ["burn-tensor-testgen"] [dependencies] -burn-tensor-testgen = { path = "../burn-tensor-testgen", optional = true } +burn-tensor-testgen = { version = "0.3.0", path = "../burn-tensor-testgen", optional = true } num-traits = "0.2" derive-new = "0.5" rand = "0.8" diff --git a/burn/Cargo.toml b/burn/Cargo.toml index 5693a216ed..cddb75dc9f 100644 --- a/burn/Cargo.toml +++ b/burn/Cargo.toml @@ -13,10 +13,10 @@ edition = "2021" [features] [dependencies] -burn-tensor = { path = "../burn-tensor" } -burn-autodiff = { path = "../burn-autodiff" } -burn-dataset = { path = "../burn-dataset", default-features = false } -burn-derive = { path = "../burn-derive" } +burn-tensor = { version = "0.3.0", path = "../burn-tensor" } +burn-autodiff = { version = "0.3.0", path = "../burn-autodiff" } +burn-dataset = { version = "0.3.0", path = "../burn-dataset", default-features = false } +burn-derive = { version = "0.3.0", path = "../burn-derive" } thiserror = "1.0" num-traits = "0.2" @@ -43,5 +43,5 @@ flate2 = "1.0" nanoid = "0.4" [dev-dependencies] -burn-dataset = { path = "../burn-dataset", features = ["fake"] } -burn-ndarray = { path = "../burn-ndarray" } +burn-dataset = { version = "0.3.0", path = "../burn-dataset", features = ["fake"] } +burn-ndarray = { version = "0.3.0", path = "../burn-ndarray" }