From c2ec4cbfc69087d96ba5534469e5aef7e3d1a8e2 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 24 Sep 2024 23:31:41 +0500 Subject: [PATCH] chore: move update-version to ci --- .github/workflows/ci.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 960cd03..42bb857 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,4 +37,13 @@ jobs: - name: typos-action uses: crate-ci/typos@v1.17.2 - name: Lint - run: bun lint + run: | + bun lint + # check for version changes + ./update-version.sh + if [[ `git status --porcelain` ]]; then + echo "Version mismatch. Please run ./update-version.sh" + exit 1 + else + echo "No changes detected." + fi