From a0fa6f8fe0b6be45e4e5ad3c791bcc36bcbf0163 Mon Sep 17 00:00:00 2001 From: Nick Garfield Date: Tue, 4 Oct 2022 12:47:13 -0500 Subject: [PATCH] Bump from 1.1.2 to 1.1.3 --- Cargo.lock | 20 ++++++++++---------- VERSION | 2 +- bench/Cargo.toml | 6 +++--- cli/Cargo.toml | 4 ++-- client/Cargo.toml | 10 +++++----- cron/Cargo.toml | 2 +- plugin/Cargo.toml | 4 ++-- programs/network/Cargo.toml | 6 +++--- programs/pool/Cargo.toml | 2 +- programs/queue/Cargo.toml | 6 +++--- programs/webhook/Cargo.toml | 4 ++-- scripts/bump-version.sh | 22 ++++++++++++++-------- sdk/Cargo.toml | 6 +++--- 13 files changed, 50 insertions(+), 44 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2470535f4..e5624cc3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -804,7 +804,7 @@ dependencies = [ [[package]] name = "clockwork-bench" -version = "1.1.2" +version = "1.1.3" dependencies = [ "base64 0.13.0", "chrono", @@ -823,7 +823,7 @@ dependencies = [ [[package]] name = "clockwork-cli" -version = "1.1.2" +version = "1.1.3" dependencies = [ "anyhow", "clap 3.2.16", @@ -844,7 +844,7 @@ dependencies = [ [[package]] name = "clockwork-client" -version = "1.1.2" +version = "1.1.3" dependencies = [ "anchor-lang", "anchor-spl", @@ -862,7 +862,7 @@ dependencies = [ [[package]] name = "clockwork-cron" -version = "1.1.2" +version = "1.1.3" dependencies = [ "chrono", "chrono-tz", @@ -872,7 +872,7 @@ dependencies = [ [[package]] name = "clockwork-network-program" -version = "1.1.2" +version = "1.1.3" dependencies = [ "anchor-lang", "anchor-spl", @@ -882,14 +882,14 @@ dependencies = [ [[package]] name = "clockwork-pool-program" -version = "1.1.2" +version = "1.1.3" dependencies = [ "anchor-lang", ] [[package]] name = "clockwork-queue-program" -version = "1.1.2" +version = "1.1.3" dependencies = [ "anchor-lang", "chrono", @@ -900,7 +900,7 @@ dependencies = [ [[package]] name = "clockwork-sdk" -version = "1.0.6" +version = "1.1.3" dependencies = [ "chrono", "chrono-tz", @@ -912,7 +912,7 @@ dependencies = [ [[package]] name = "clockwork-webhook-program" -version = "1.1.2" +version = "1.1.3" dependencies = [ "anchor-lang", "clockwork-pool-program", @@ -920,7 +920,7 @@ dependencies = [ [[package]] name = "clockwork_plugin" -version = "1.1.2" +version = "1.1.3" dependencies = [ "anchor-lang", "bincode", diff --git a/VERSION b/VERSION index 45a1b3f44..781dcb07c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.2 +1.1.3 diff --git a/bench/Cargo.toml b/bench/Cargo.toml index 5ce522023..1f809a9f9 100644 --- a/bench/Cargo.toml +++ b/bench/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-bench" -version = "1.1.2" +version = "1.1.3" description = "A benchmarking tool for Clockwork" edition = "2021" license = "AGPL-3.0-or-later" @@ -14,8 +14,8 @@ keywords = ["solana"] base64 = "0.13.0" chrono = { version = "0.4.19", default-features = false, features = ["alloc"] } clap = { version = "3.1.2", features = ["derive"] } -clockwork-client = { path = "../client", version = "1.1.2" } -clockwork-cron = { path = "../cron", version = "1.1.2" } +clockwork-client = { path = "../client", version = "1.1.3" } +clockwork-cron = { path = "../cron", version = "1.1.3" } serde_json = "1.0.79" serde = { version = "1.0.136", features = ["derive"] } solana-clap-utils = "1.10.34" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index ea81a8086..c231e4ffe 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-cli" -version = "1.1.2" +version = "1.1.3" description = "Command line interface for Clockwork" edition = "2021" license = "AGPL-3.0-or-later" @@ -15,7 +15,7 @@ keywords = ["solana"] [dependencies] anyhow = "1.0.61" clap = { version = "3.1.2", features = ["derive"] } -clockwork-client = { path = "../client", version = "1.1.2" } +clockwork-client = { path = "../client", version = "1.1.3" } dirs-next = "2.0.0" serde = { version = "1.0.136", features = ["derive"] } serde_json = "1.0.79" diff --git a/client/Cargo.toml b/client/Cargo.toml index fa1e215b7..4e8a929ab 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-client" -version = "1.1.2" +version = "1.1.3" edition = "2021" description = "Clockwork client" license = "AGPL-3.0-or-later" @@ -19,10 +19,10 @@ anchor-lang = "0.25.0" anchor-spl = { features = ["mint", "token"], version = "0.25.0" } bincode = "1.3.3" borsh = "0.9.3" -clockwork-network-program = { path = "../programs/network", features = ["no-entrypoint"], version = "1.0.6" } -clockwork-pool-program = { path = "../programs/pool", features = ["no-entrypoint"], version = "1.0.6" } -clockwork-queue-program = { path = "../programs/queue", features = ["no-entrypoint"], version = "1.0.6" } -clockwork-webhook-program = { path = "../programs/webhook", features = ["no-entrypoint"], version = "1.0.6" } +clockwork-network-program = { path = "../programs/network", features = ["no-entrypoint"], version = "1.1.3" } +clockwork-pool-program = { path = "../programs/pool", features = ["no-entrypoint"], version = "1.1.3" } +clockwork-queue-program = { path = "../programs/queue", features = ["no-entrypoint"], version = "1.1.3" } +clockwork-webhook-program = { path = "../programs/webhook", features = ["no-entrypoint"], version = "1.1.3" } solana-client = "1.10.34" solana-sdk = "1.10.34" thiserror = "1.0.31" diff --git a/cron/Cargo.toml b/cron/Cargo.toml index 906973736..b9da18ecc 100644 --- a/cron/Cargo.toml +++ b/cron/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-cron" -version = "1.1.2" +version = "1.1.3" description = "A cron expression parser that's safe to use in the Solana runtime" edition = "2021" license = "AGPL-3.0-or-later" diff --git a/plugin/Cargo.toml b/plugin/Cargo.toml index 508380615..d3e51e7df 100644 --- a/plugin/Cargo.toml +++ b/plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork_plugin" -version = "1.1.2" +version = "1.1.3" edition = "2021" description = "Clockwork plugin for Solana validators" license = "AGPL-3.0-or-later" @@ -19,7 +19,7 @@ bincode = "1.3.3" bs58 = "0.4.0" bugsnag = "0.2.1" chrono = { version = "0.4.19", default-features = false, features = ["alloc"] } -clockwork-client = { path = "../client", version = "1.1.2" } +clockwork-client = { path = "../client", version = "1.1.3" } clockwork-cron = { path = "../cron", version = "1.0.3" } dashmap = "5.3.3" log = "0.4" diff --git a/programs/network/Cargo.toml b/programs/network/Cargo.toml index f1755c039..18cf501fc 100644 --- a/programs/network/Cargo.toml +++ b/programs/network/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-network-program" -version = "1.1.2" +version = "1.1.3" description = "Clockwork networking protocol" edition = "2021" license = "AGPL-3.0-or-later" @@ -24,5 +24,5 @@ default = [] [dependencies] anchor-lang = "0.25.0" anchor-spl = { features = ["mint", "token"], version = "0.25.0" } -clockwork-pool-program = { path = "../pool", features = ["cpi"], version = "1.0.6" } -clockwork-queue-program = { path = "../queue", features = ["cpi"], version = "1.0.6" } +clockwork-pool-program = { path = "../pool", features = ["cpi"], version = "1.1.3" } +clockwork-queue-program = { path = "../queue", features = ["cpi"], version = "1.1.3" } diff --git a/programs/pool/Cargo.toml b/programs/pool/Cargo.toml index 129f3909c..e608c4d5b 100644 --- a/programs/pool/Cargo.toml +++ b/programs/pool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-pool-program" -version = "1.1.2" +version = "1.1.3" description = "Clockwork pool protocol" edition = "2021" license = "AGPL-3.0-or-later" diff --git a/programs/queue/Cargo.toml b/programs/queue/Cargo.toml index 71f74281d..3c834dab0 100644 --- a/programs/queue/Cargo.toml +++ b/programs/queue/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-queue-program" -version = "1.1.2" +version = "1.1.3" description = "Clockwork queue program" edition = "2021" license = "AGPL-3.0-or-later" @@ -24,6 +24,6 @@ default = [] [dependencies] anchor-lang = { features = ["init-if-needed"], version = "0.25.0" } chrono = { version = "0.4.19", default-features = false, features = ["alloc"] } -clockwork-cron = { path = "../../cron", version = "1.1.2" } -clockwork-pool-program = { path = "../pool", features = ["cpi"], version = "1.0.6" } +clockwork-cron = { path = "../../cron", version = "1.1.3" } +clockwork-pool-program = { path = "../pool", features = ["cpi"], version = "1.1.3" } static-pubkey = "1.0.3" \ No newline at end of file diff --git a/programs/webhook/Cargo.toml b/programs/webhook/Cargo.toml index 2a75c5eae..95ef6870b 100644 --- a/programs/webhook/Cargo.toml +++ b/programs/webhook/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-webhook-program" -version = "1.1.2" +version = "1.1.3" description = "Clockwork webhook program" edition = "2021" license = "AGPL-3.0-or-later" @@ -23,4 +23,4 @@ default = [] [dependencies] anchor-lang = { features = ["init-if-needed"], version = "0.25.0" } -clockwork-pool-program = { path = "../pool", features = ["cpi"], version = "1.0.6" } \ No newline at end of file +clockwork-pool-program = { path = "../pool", features = ["cpi"], version = "1.1.3" } \ No newline at end of file diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index 7612b24e2..85a73131f 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -21,16 +21,17 @@ sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/ # Bump inter-program dependencies sed -i '' -e 's/^clockwork-cron =.*/clockwork-cron = { path = "..\/..\/cron", version = "'${new_version}'" }/g' programs/queue/Cargo.toml -sed -i '' -e 's/^clockwork-pool =.*/clockwork-pool = { path = "..\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/network/Cargo.toml -sed -i '' -e 's/^clockwork-pool =.*/clockwork-pool = { path = "..\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/queue/Cargo.toml -sed -i '' -e 's/^clockwork-queue =.*/clockwork-queue = { path = "..\/queue", features = ["cpi"], version = "'${new_version}'" }/g' programs/network/Cargo.toml -sed -i '' -e 's/^clockwork-pool =.*/clockwork-pool = { path = "..\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/webhook/Cargo.toml +sed -i '' -e 's/^clockwork-pool-proram =.*/clockwork-pool-proram = { path = "..\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/network/Cargo.toml +sed -i '' -e 's/^clockwork-pool-program =.*/clockwork-pool-program = { path = "..\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/queue/Cargo.toml +sed -i '' -e 's/^clockwork-pool-program =.*/clockwork-pool-program = { path = "..\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/network/Cargo.toml +sed -i '' -e 's/^clockwork-queue-program =.*/clockwork-queue-program = { path = "..\/queue", features = ["cpi"], version = "'${new_version}'" }/g' programs/network/Cargo.toml +sed -i '' -e 's/^clockwork-pool-program =.*/clockwork-pool-program = { path = "..\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/webhook/Cargo.toml # Bump clockwork-client -sed -i '' -e 's/^clockwork-network =.*/clockwork-network = { path = "..\/programs\/network", features = ["no-entrypoint"], version = "'${new_version}'" }/g' client/Cargo.toml -sed -i '' -e 's/^clockwork-pool =.*/clockwork-pool = { path = "..\/programs\/pool", features = ["no-entrypoint"], version = "'${new_version}'" }/g' client/Cargo.toml -sed -i '' -e 's/^clockwork-queue =.*/clockwork-queue = { path = "..\/programs\/queue", features = ["no-entrypoint"], version = "'${new_version}'" }/g' client/Cargo.toml -sed -i '' -e 's/^clockwork-webhook =.*/clockwork-webhook = { path = "..\/programs\/webhook", features = ["no-entrypoint"], version = "'${new_version}'" }/g' client/Cargo.toml +sed -i '' -e 's/^clockwork-network-program =.*/clockwork-network-program = { path = "..\/programs\/network", features = ["no-entrypoint"], version = "'${new_version}'" }/g' client/Cargo.toml +sed -i '' -e 's/^clockwork-pool-program =.*/clockwork-pool-program = { path = "..\/programs\/pool", features = ["no-entrypoint"], version = "'${new_version}'" }/g' client/Cargo.toml +sed -i '' -e 's/^clockwork-queue-program =.*/clockwork-queue-program = { path = "..\/programs\/queue", features = ["no-entrypoint"], version = "'${new_version}'" }/g' client/Cargo.toml +sed -i '' -e 's/^clockwork-webhook-program =.*/clockwork-webhook-program = { path = "..\/programs\/webhook", features = ["no-entrypoint"], version = "'${new_version}'" }/g' client/Cargo.toml sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' client/Cargo.toml # Bump clockwork-bench @@ -46,6 +47,11 @@ sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/ sed -i '' -e 's/^clockwork-client =.*/clockwork-client = { path = "..\/client", version = "'${new_version}'" }/g' plugin/Cargo.toml sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' plugin/Cargo.toml +# Bump clockwork-sdk +sed -i '' -e 's/^clockwork-client =.*/clockwork-client = { optional = true, path = "..\/client", version = "'${new_version}'" }/g' sdk/Cargo.toml +sed -i '' -e 's/^clockwork-queue-program =.*/clockwork-queue-program = { path = "..\/programs\/queue", features = ["cpi"], version = "'${new_version}'" }/g' sdk/Cargo.toml +sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' sdk/Cargo.toml + # Update version echo $new_version > VERSION diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 27e2b203f..39480f8e8 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clockwork-sdk" -version = "1.0.6" +version = "1.1.3" description = "An SDK for building dapps with the Clockwork automation engine" edition = "2021" license = "AGPL-3.0-or-later" @@ -14,8 +14,8 @@ keywords = ["solana"] name = "clockwork_sdk" [dependencies] -clockwork-client = { path = "../client", version = "1.0.6", optional = true } -clockwork-queue-program = { path = "../programs/queue", features = ["cpi"], version = "1.0.6" } +clockwork-client = { optional = true, path = "../client", version = "1.1.3" } +clockwork-queue-program = { path = "../programs/queue", features = ["cpi"], version = "1.1.3" } chrono = { version = "0.4.19", default-features = false, features = ["alloc"] } nom = "~7" once_cell = "1.5.2"