diff --git a/.github/workflows/ci_merge_main.yaml b/.github/workflows/ci_merge_main.yaml index 149e5040b..235624dbc 100644 --- a/.github/workflows/ci_merge_main.yaml +++ b/.github/workflows/ci_merge_main.yaml @@ -28,18 +28,24 @@ jobs: targets: wasm32-unknown-unknown components: rustfmt, clippy - - name: Semver release - uses: cocogitto/cocogitto-action@v3 - id: release + - name: install cargo-edit to perform set-version + uses: baptiste0928/cargo-install@v2.2.0 with: - release: true - git-user: "Superposition Bot" - git-user-email: "super_bot@juspay.in" - check-latest-tag-only: true + crate: cargo-edit - - name: Push code to main + - name: install cocogitto + uses: baptiste0928/cargo-install@v2.2.0 + with: + crate: cocogitto + + - name: Semver release shell: bash run: | git config user.email "super_bot@juspay.in" git config user.name "Superposition Bot" + cog bump --auto --skip-ci-override "[skip ci]" + + - name: Push code to main + shell: bash + run: | git push --follow-tags origin main