Skip to content

Commit

Permalink
Bump version from 0.1.8 to 0.2.0-alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Garfield committed May 24, 2022
1 parent be01fa0 commit 4b8e6a1
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 51 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Release

on:
push:
tags:
Expand Down
35 changes: 12 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.8
0.2.0-alpha1
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-cli"
version = "0.1.8"
version = "0.2.0-alpha1"
description = "Command line instruction scheduler for Solana"
edition = "2021"
license = "GNU AGPLv3"
Expand All @@ -14,7 +14,7 @@ keywords = ["solana", "cronos", "cli"]

[dependencies]
clap = { version = "3.1.2", features = ["derive"] }
cronos-sdk = { path = "../sdk", features = ["client"], version = "0.1.8" }
cronos-sdk = { path = "../sdk", features = ["client"], version = "0.2.0-alpha1" }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
solana-account-decoder = "1.10.8"
Expand Down
2 changes: 1 addition & 1 deletion cron/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-cron"
version = "0.1.8"
version = "0.2.0-alpha1"
description = "A cron expression parser that's safe to use in the Solana runtime"
edition = "2021"
license = "GNU AGPLv3"
Expand Down
4 changes: 2 additions & 2 deletions metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-metrics"
version = "0.1.8"
version = "0.2.0-alpha1"
description = "Performance monitoring for Cronos clusters"
edition = "2021"
license = "GNU AGPLv3"
Expand All @@ -12,7 +12,7 @@ keywords = ["solana"]

[dependencies]
chrono = "0.4.19"
cronos-sdk = { path = "../sdk", features = ["client"], version = "0.1.8" }
cronos-sdk = { path = "../sdk", features = ["client"], version = "0.2.0-alpha1" }
dotenv = "0.15.0"
elasticsearch = "7.14.0-alpha.1"
serde_json = "~1"
Expand Down
4 changes: 2 additions & 2 deletions plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos_plugin"
version = "0.1.8"
version = "0.2.0-alpha1"
edition = "2021"
description = "Cronos plugin for Solana validators"
license = "GNU AGPLv3"
Expand All @@ -16,7 +16,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
bincode = "1.3.3"
bs58 = "0.4.0"
cronos-sdk = { path = "../sdk", features = ["client"], version = "0.1.8" }
cronos-sdk = { path = "../sdk", features = ["client"], version = "0.2.0-alpha1" }
log = "0.4"
prost = "0.10.0"
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion programs/health/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-health"
version = "0.1.8"
version = "0.2.0-alpha1"
description = "Cronos health protocol"
edition = "2021"
license = "GNU AGPLv3"
Expand Down
6 changes: 3 additions & 3 deletions programs/network/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-network"
version = "0.1.8"
version = "0.2.0-alpha1"
description = "Cronos networking protocol"
edition = "2021"
license = "GNU AGPLv3"
Expand All @@ -24,5 +24,5 @@ default = []
[dependencies]
anchor-lang = { git = "https://github.com/cronos-so/anchor", branch = "v0.24.2-solana.1.10.8" }
anchor-spl = { features = ["mint", "token"], git = "https://github.com/cronos-so/anchor", branch = "v0.24.2-solana.1.10.8" }
cronos-pool = { path = "../pool", features = ["cpi"], version = "0.1.8" }
cronos-scheduler = { path = "../scheduler", features = ["cpi"], version = "0.1.8" }
cronos-pool = { path = "../pool", features = ["cpi"], version = "0.2.0-alpha1" }
cronos-scheduler = { path = "../scheduler", features = ["cpi"], version = "0.2.0-alpha1" }
2 changes: 1 addition & 1 deletion programs/pool/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-pool"
version = "0.1.8"
version = "0.2.0-alpha1"
description = "Cronos pool protocol"
edition = "2021"
license = "GNU AGPLv3"
Expand Down
6 changes: 3 additions & 3 deletions programs/scheduler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-scheduler"
version = "0.1.8"
version = "0.2.0-alpha1"
description = "Cronos scheduling protocol"
edition = "2021"
license = "GNU AGPLv3"
Expand All @@ -24,5 +24,5 @@ default = []
[dependencies]
anchor-lang = { git = "https://github.com/cronos-so/anchor", branch = "v0.24.2-solana.1.10.8" }
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
cronos-cron = { path = "../../cron", version = "0.1.8" }
cronos-pool = { path = "../pool", features = ["cpi"], version = "0.1.8" }
cronos-cron = { path = "../../cron", version = "0.2.0-alpha1" }
cronos-pool = { path = "../pool", features = ["cpi"], version = "0.2.0-alpha1" }
16 changes: 12 additions & 4 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/
sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' programs/pool/Cargo.toml
sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' programs/scheduler/Cargo.toml

# Bump inter-program dependencies
sed -i '' -e 's/^cronos-pool =.*/cronos-pool = { path = "..\/programs\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/network/Cargo.toml
sed -i '' -e 's/^cronos-scheduler =.*/cronos-scheduler = { path = "..\/programs\/scheduler", features = ["cpi"], version = "'${new_version}'" }/g' programs/network/Cargo.toml
sed -i '' -e 's/^cronos-cron =.*/cronos-cron = { path = "..\/..\/cron", version = "'${new_version}'" }/g' programs/scheduler/Cargo.toml
sed -i '' -e 's/^cronos-pool =.*/cronos-pool = { path = "..\/programs\/pool", features = ["cpi"], version = "'${new_version}'" }/g' programs/scheduler/Cargo.toml


# Bump cronos-sdk
sed -i '' -e 's/^cronos-health =.*/cronos-health = { path = "..\/programs\/health", features = ["no-entrypoint"], version = "'${new_version}'" }/g' sdk/Cargo.toml
sed -i '' -e 's/^cronos-network =.*/cronos-network = { path = "..\/programs\/network", features = ["no-entrypoint"], version = "'${new_version}'" }/g' sdk/Cargo.toml
Expand All @@ -27,19 +34,20 @@ sed -i '' -e 's/^cronos-scheduler =.*/cronos-scheduler = { path = "..\/programs\
sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' sdk/Cargo.toml

# Bump cronos-cli
sed -i '' -e 's/^cronos-sdk =.*/cronos-sdk = { path = "..\/sdk", version = "'${new_version}'" }/g' cli/Cargo.toml
sed -i '' -e 's/^cronos-sdk =.*/cronos-sdk = { path = "..\/sdk", features = ["client"], version = "'${new_version}'" }/g' cli/Cargo.toml
sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' cli/Cargo.toml

# Bump cronos-metrics
sed -i '' -e 's/^cronos-sdk =.*/cronos-sdk = { path = "..\/sdk", version = "'${new_version}'" }/g' metrics/Cargo.toml
sed -i '' -e 's/^cronos-sdk =.*/cronos-sdk = { path = "..\/sdk", features = ["client"], version = "'${new_version}'" }/g' metrics/Cargo.toml
sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' metrics/Cargo.toml

# Bump cronos-plugin
sed -i '' -e 's/^cronos-sdk =.*/cronos-sdk = { path = "..\/sdk", version = "'${new_version}'" }/g' plugin/Cargo.toml
sed -i '' -e 's/^cronos-sdk =.*/cronos-sdk = { path = "..\/sdk", features = ["client"], version = "'${new_version}'" }/g' plugin/Cargo.toml
sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' plugin/Cargo.toml

# Bump cronos-stress
sed -i '' -e 's/^cronos-sdk =.*/cronos-sdk = { path = "..\/sdk", version = "'${new_version}'" }/g' stress/Cargo.toml
sed -i '' -e 's/^cronos-sdk =.*/cronos-sdk = { path = "..\/sdk", features = ["client"], version = "'${new_version}'" }/g' stress/Cargo.toml
sed -i '' -e 's/^cronos-cron =.*/cronos-cron = { path = "..\/cron", version = "'${new_version}'" }/g' stress/Cargo.toml
sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' stress/Cargo.toml

# Update version
Expand Down
10 changes: 5 additions & 5 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-sdk"
version = "0.1.8"
version = "0.2.0-alpha1"
edition = "2021"
description = "Cronos SDK"
license = "GNU AGPLv3"
Expand All @@ -18,10 +18,10 @@ name = "cronos_sdk"
anchor-lang = { git = "https://github.com/cronos-so/anchor", branch = "v0.24.2-solana.1.10.8" }
anchor-spl = { features = ["mint", "token"], git = "https://github.com/cronos-so/anchor", branch = "v0.24.2-solana.1.10.8" }
bincode = "1.3.3"
cronos-health = { path = "../programs/health", features = ["no-entrypoint"], version = "0.1.8" }
cronos-network = { path = "../programs/network", features = ["no-entrypoint"], version = "0.1.8" }
cronos-pool = { path = "../programs/pool", features = ["no-entrypoint"], version = "0.1.8" }
cronos-scheduler = { path = "../programs/scheduler", features = ["no-entrypoint"], version = "0.1.8" }
cronos-health = { path = "../programs/health", features = ["no-entrypoint"], version = "0.2.0-alpha1" }
cronos-network = { path = "../programs/network", features = ["no-entrypoint"], version = "0.2.0-alpha1" }
cronos-pool = { path = "../programs/pool", features = ["no-entrypoint"], version = "0.2.0-alpha1" }
cronos-scheduler = { path = "../programs/scheduler", features = ["no-entrypoint"], version = "0.2.0-alpha1" }
solana-client = "1.10.8"
solana-sdk = "1.10.8"
thiserror = "1.0.31"
Expand Down
6 changes: 3 additions & 3 deletions stress/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cronos-stress"
version = "0.1.8"
version = "0.2.0-alpha1"
description = "A stress testing tool for Cronos"
edition = "2021"
license = "GNU AGPLv3"
Expand All @@ -14,8 +14,8 @@ keywords = ["solana", "cronos", "program"]
base64 = "0.13.0"
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
clap = { version = "3.1.2", features = ["derive"] }
cronos-cron = "0.1.8"
cronos-sdk = { path = "../sdk", features = ["client"], version = "0.1.8" }
cronos-cron = { path = "../cron", version = "0.2.0-alpha1" }
cronos-sdk = { path = "../sdk", features = ["client"], version = "0.2.0-alpha1" }
serde_json = "1.0.79"
serde = { version = "1.0.136", features = ["derive"] }
solana-clap-utils = "1.10.8"
Expand Down

0 comments on commit 4b8e6a1

Please sign in to comment.