Skip to content

*: add metrics for event store (#4070) (#4072) #42

*: add metrics for event store (#4070) (#4072)

*: add metrics for event store (#4070) (#4072) #42

Workflow file for this run

name: Auto Release
permissions:
contents: write
packages: write
on:
push:
tags:
- '*'
jobs:
tag:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.tag.outputs.version }}
steps:
- name: Get the version
id: tag
run: echo "version=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT
- name: Echo tag
run: echo ${{ steps.tag.outputs.version }}
release:
name: release
needs: tag
if: '!contains(needs.tag.outputs.version, ''nextgen'')'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Publish Release
env:
GH_TOKEN: ${{ github.token }}
run: |
VERSION="${{needs.tag.outputs.version}}"
TITLE="${VERSION}"
NOTE="Download Link:
\`\`\`
wget https://tiup-mirrors.pingcap.com/cdc-$VERSION-linux-amd64.tar.gz
docker pull pingcap/ticdc:$VERSION
\`\`\`"
gh release create "$VERSION" --verify-tag -t "$TITLE" -n "$NOTE"