Merge pull request #7 from nishizhen/fix/add-permissions-to-workflow

fix: Add permissions to release workflow
This commit is contained in:
nishizhen 2025-08-15 21:42:46 +08:00 committed by GitHub
commit 303637a71b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,9 @@ jobs:
- name: Get version - name: Get version
id: get_version id: get_version
run: echo "VERSION=$(grep -o '\"version\": \"[^\"]*' version.json | grep -o '[^"]*$')" >> $GITHUB_ENV run: |
VERSION=$(grep -o '"version": "[^"]*' version.json | grep -o '[^"]*$')
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Build release package - name: Build release package
run: | run: |