Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

ci(release-stable-version): use `cocogitto` to obtain previous and next tags (#4537)

Sanchith Hegde04850c1f61c6
diff --git a/.github/workflows/release-stable-version.yml b/.github/workflows/release-stable-version.yml
index 93bd71ef77..64609aed86 100644
--- a/.github/workflows/release-stable-version.yml
+++ b/.github/workflows/release-stable-version.yml
@@ -103,17 +103,17 @@ jobs:
crate: git-cliff
version: 1.4.0
- - name: Install convco
+ - name: Install cocogitto
uses: baptiste0928/[email protected]
with:
- crate: convco
- version: 0.5.0
+ crate: cocogitto
+ version: 6.1.0
- name: Obtain previous and next tag information
shell: bash
run: |
- PREVIOUS_TAG="v$(convco version --prefix 'v')"
- NEXT_TAG="v$(convco version --prefix 'v' "--${{ inputs.bump_type }}")"
+ PREVIOUS_TAG="v$(cog --verbose get-version)"
+ NEXT_TAG="$(cog --verbose bump --dry-run "--${{ inputs.bump_type }}")"
echo "PREVIOUS_TAG=${PREVIOUS_TAG}" >> $GITHUB_ENV
echo "NEXT_TAG=${NEXT_TAG}" >> $GITHUB_ENV