From fdc84813584f5bfc6442be6ed3be14f4839e4fdc Mon Sep 17 00:00:00 2001 From: Rashad Alston Date: Tue, 1 Nov 2022 18:53:55 -0400 Subject: [PATCH 1/2] Publish all crates --- .github/workflows/ci.yml | 3 +++ Cargo.lock | 6 +++--- fuel-indexer-database/database-types/Cargo.toml | 2 +- fuel-indexer-database/postgres/Cargo.toml | 4 ++-- fuel-indexer-database/sqlite/Cargo.toml | 4 ++-- fuel-indexer-schema/Cargo.toml | 6 +++--- fuel-indexer/Cargo.toml | 6 +++--- 7 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a5cb5f1d..9e4da4cf7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -531,6 +531,9 @@ jobs: mv ./dasel /usr/local/bin/dasel ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} fuel-indexer-api-server/Cargo.toml ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} fuel-indexer-database/Cargo.toml + ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} fuel-indexer-database/database-types/Cargo.toml + ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} fuel-indexer-database/postgres/Cargo.toml + ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} fuel-indexer-database/sqlite/Cargo.toml ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} fuel-indexer-lib/Cargo.toml ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} fuel-indexer-macros/Cargo.toml ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} fuel-indexer-plugin/Cargo.toml diff --git a/Cargo.lock b/Cargo.lock index 1d154a0d5..ff7bf1d2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2606,7 +2606,7 @@ dependencies = [ [[package]] name = "fuel-indexer-database-types" -version = "0.0.0" +version = "0.1.0" dependencies = [ "serde", "strum 0.24.1", @@ -2657,7 +2657,7 @@ dependencies = [ [[package]] name = "fuel-indexer-postgres" -version = "0.0.0" +version = "0.1.0" dependencies = [ "fuel-indexer-database-types", "fuel-indexer-lib", @@ -2691,7 +2691,7 @@ dependencies = [ [[package]] name = "fuel-indexer-sqlite" -version = "0.0.0" +version = "0.1.0" dependencies = [ "fuel-indexer-database-types", "fuel-indexer-lib", diff --git a/fuel-indexer-database/database-types/Cargo.toml b/fuel-indexer-database/database-types/Cargo.toml index 7843b1873..b886b9173 100644 --- a/fuel-indexer-database/database-types/Cargo.toml +++ b/fuel-indexer-database/database-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fuel-indexer-database-types" -version = "0.0.0" +version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/fuel-indexer-database/postgres/Cargo.toml b/fuel-indexer-database/postgres/Cargo.toml index ed3585109..dcecb4da0 100644 --- a/fuel-indexer-database/postgres/Cargo.toml +++ b/fuel-indexer-database/postgres/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "fuel-indexer-postgres" -version = "0.0.0" +version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -fuel-indexer-database-types = { path = "../database-types" } +fuel-indexer-database-types = { version = "0.1.0", path = "../database-types" } fuel-indexer-lib = { version = "0.1", path = "../../fuel-indexer-lib" } sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "postgres", "offline"] } tracing = "0.1" diff --git a/fuel-indexer-database/sqlite/Cargo.toml b/fuel-indexer-database/sqlite/Cargo.toml index b04ef2497..112ad6463 100644 --- a/fuel-indexer-database/sqlite/Cargo.toml +++ b/fuel-indexer-database/sqlite/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "fuel-indexer-sqlite" -version = "0.0.0" +version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -fuel-indexer-database-types = { path = "../database-types" } +fuel-indexer-database-types = { version = "0.1.0", path = "../database-types" } fuel-indexer-lib = { version = "0.1", path = "../../fuel-indexer-lib" } sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite", "offline", "json"] } tracing = "0.1" diff --git a/fuel-indexer-schema/Cargo.toml b/fuel-indexer-schema/Cargo.toml index be4d590b9..54464e589 100644 --- a/fuel-indexer-schema/Cargo.toml +++ b/fuel-indexer-schema/Cargo.toml @@ -10,10 +10,10 @@ publish = false bincode = "1.3.3" chrono = { version = "0.4", default-features = false, features = ["serde"] } fuel-indexer-database = { version = "0.1", path = "../fuel-indexer-database", optional = true } -fuel-indexer-database-types = { path = "../fuel-indexer-database/database-types" } +fuel-indexer-database-types = { version = "0.1.0", path = "../fuel-indexer-database/database-types" } fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib" } -fuel-indexer-postgres = { path = "../fuel-indexer-database/postgres", optional = true } -fuel-indexer-sqlite = { path = "../fuel-indexer-database/sqlite", optional = true } +fuel-indexer-postgres = { version = "0.1.0", path = "../fuel-indexer-database/postgres", optional = true } +fuel-indexer-sqlite = { version = "0.1.0", path = "../fuel-indexer-database/sqlite", optional = true } fuel-tx = { version = "0.18", features = ["serde", "alloc"] } fuel-types = { version = "0.5", features = ["serde", "alloc"] } fuels-core = "0.26" diff --git a/fuel-indexer/Cargo.toml b/fuel-indexer/Cargo.toml index 6801cd80e..8cd69d37a 100644 --- a/fuel-indexer/Cargo.toml +++ b/fuel-indexer/Cargo.toml @@ -16,11 +16,11 @@ cfg-if = "1.0" clap = { version = "3.1", features = ["cargo", "derive", "env"] } fuel-gql-client = { version = "0.10" } fuel-indexer-database = { version = "0.1", path = "../fuel-indexer-database" } -fuel-indexer-database-types = { path = "../fuel-indexer-database/database-types" } +fuel-indexer-database-types = { version = "0.1.0", path = "../fuel-indexer-database/database-types" } fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib" } -fuel-indexer-postgres = { path = "../fuel-indexer-database/postgres" } +fuel-indexer-postgres = { version = "0.1.0", path = "../fuel-indexer-database/postgres" } fuel-indexer-schema = { version = "0.1", path = "../fuel-indexer-schema", features = ["db-models"] } -fuel-indexer-sqlite = { path = "../fuel-indexer-database/sqlite" } +fuel-indexer-sqlite = { version = "0.1.0", path = "../fuel-indexer-database/sqlite" } fuel-tx = "0.18" fuel-types = "0.5" futures = "0.3" From b3b6e1776cdc9c8f8b1ea16a62f0956bc2652759 Mon Sep 17 00:00:00 2001 From: Rashad Alston Date: Tue, 1 Nov 2022 19:19:15 -0400 Subject: [PATCH 2/2] Update more crate versions --- fuel-indexer-database/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fuel-indexer-database/Cargo.toml b/fuel-indexer-database/Cargo.toml index e738401c6..38a220139 100644 --- a/fuel-indexer-database/Cargo.toml +++ b/fuel-indexer-database/Cargo.toml @@ -6,10 +6,10 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -fuel-indexer-database-types = { path = "./database-types" } +fuel-indexer-database-types = { version = "0.1.0", path = "./database-types" } fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib" } -fuel-indexer-postgres = { path = "./postgres" } -fuel-indexer-sqlite = { path = "./sqlite" } +fuel-indexer-postgres = { version = "0.1.0", path = "./postgres" } +fuel-indexer-sqlite = { version = "0.1.0", path = "./sqlite" } sqlx = { version = "0.6" } thiserror = { version = "1.0" } tracing = "0.1"