diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ecf503..4aab0a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,7 @@ jobs: - name: Build run: cargo build --verbose - name: Publish to crates.io + if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: cargo publish --token ${CRATES_TOKEN} env: CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index 605d27d..f30c3f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "maestro-rust-sdk" -version = "1.2.1" +version = "1.2.2" description = "Rust SDK for the Maestro Dapp Platform" repository = "https://github.com/maestro-org/rust-sdk" documentation = "https://docs.gomaestro.org/"