diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ffc23961..1451173e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -169,4 +169,23 @@ jobs: artifacts: "land-cli-nightly*" commit: ${{ github.sha }} body: | - This is a "nightly" release of land-cli. It is automatically built from the latest commit on the main branch. It includes some new features and bug fixes that have not yet been released. Be careful when using this version of land-cli as it may be unstable. \ No newline at end of file + This is a "nightly" release of land-cli. It is automatically built from the latest commit on the main branch. It includes some new features and bug fixes that have not yet been released. Be careful when using this version of land-cli as it may be unstable. + + publish-crates-io: + name: update nightly release + runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/v') + needs: build + steps: + - uses: actions/checkout@v3 + - name: Update local toolchain + run: | + rustup update stable + - name: Publish land-sdk-macro + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + run: cargo publish -p land-sdk-macro + - name: Publish land-sdk + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + run: cargo publish -p land-sdk diff --git a/Cargo.lock b/Cargo.lock index ef4ba31d..e6d924b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2043,7 +2043,7 @@ dependencies = [ [[package]] name = "integration-test" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "reqwest", @@ -2161,7 +2161,7 @@ dependencies = [ [[package]] name = "land-center" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "axum", @@ -2187,7 +2187,7 @@ dependencies = [ [[package]] name = "land-cli" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "async-trait", @@ -2209,7 +2209,7 @@ dependencies = [ [[package]] name = "land-core" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "lazy_static", @@ -2224,7 +2224,7 @@ dependencies = [ [[package]] name = "land-dao" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "async-std", @@ -2246,7 +2246,7 @@ dependencies = [ [[package]] name = "land-edge" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "async-trait", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "land-runtime" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "async-trait", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "land-sdk" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "http", @@ -2309,7 +2309,7 @@ dependencies = [ [[package]] name = "land-sdk-macro" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "http", @@ -2319,7 +2319,7 @@ dependencies = [ [[package]] name = "land-storage" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "envconfig", @@ -2334,7 +2334,7 @@ dependencies = [ [[package]] name = "land-worker" -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index f910b145..adeb7e93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,17 +41,17 @@ members = [ ] [workspace.package] -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" edition = "2021" authors = ["fuxiaohei "] [workspace.dependencies] -land-worker = { path = "crates/worker", version = "0.1.0-rc.3" } -land-sdk-macro = { path = "crates/sdk-macro", version = "0.1.0-rc.3" } -land-sdk = { path = "crates/sdk", version = "0.1.0-rc.3" } -land-core = { path = "crates/core", version = "0.1.0-rc.3" } -land-dao = { path = "crates/dao", version = "0.1.0-rc.3" } -land-storage = { path = "crates/storage", version = "0.1.0-rc.3" } +land-worker = { path = "crates/worker", version = "0.1.0-rc.4" } +land-sdk-macro = { path = "crates/sdk-macro", version = "0.1.0-rc.4" } +land-sdk = { path = "crates/sdk", version = "0.1.0-rc.4" } +land-core = { path = "crates/core", version = "0.1.0-rc.4" } +land-dao = { path = "crates/dao", version = "0.1.0-rc.4" } +land-storage = { path = "crates/storage", version = "0.1.0-rc.4" } anyhow = "1.0.75" axum = { version = "0.6.20", features = ["headers", "ws"] } clap = { version = "4.4.0", features = ["derive", "env"] } diff --git a/crates/sdk/README.md b/crates/sdk/README.md index a4ccc22d..c4b40289 100644 --- a/crates/sdk/README.md +++ b/crates/sdk/README.md @@ -10,7 +10,7 @@ Add this to your `Cargo.toml`: [dependencies] anyhow = "1.0.75" http = "0.2.9" -land-sdk = "0.1.0-rc.3" +land-sdk = "0.1.0-rc.4" wit-bindgen = "0.10.0" [lib]