Add release check when starting latest CI

This commit is contained in:
curquiza 2022-12-07 12:17:48 +01:00
parent 9acac28574
commit be300138e4
2 changed files with 10 additions and 133 deletions

View file

@ -1,4 +1,4 @@
# Create or update a latest git tag when releasing a stable vesrsin of Meilisearch
# Create or update a latest git tag when releasing a stable version of Meilisearch
name: Update latest git tag
on:
workflow_dispatch:
@ -6,6 +6,15 @@ on:
types: [released]
jobs:
check-version:
name: Check the version validity
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check release validity
if: github.event_name == 'release'
run: bash .github/scripts/check-release.sh
update-latest-tag:
runs-on: ubuntu-latest
steps: