Automate manifest.json version updates during release (#9)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Deluan Quintão
2026-02-07 20:17:09 -05:00
committed by GitHub
parent 982d3aae29
commit a39bcec7b2
3 changed files with 76 additions and 5 deletions

View File

@@ -16,6 +16,15 @@ jobs:
- name: Check out code
uses: actions/checkout@v5
- name: Verify manifest version matches tag
run: |
TAG_VERSION="${GITHUB_REF_NAME#v}"
MANIFEST_VERSION=$(jq -r .version manifest.json)
if [ "$TAG_VERSION" != "$MANIFEST_VERSION" ]; then
echo "::error::Tag version ($TAG_VERSION) does not match manifest.json version ($MANIFEST_VERSION)"
exit 1
fi
- name: Set up Go
uses: actions/setup-go@v5
with: