mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01:00
Merge pull request #8 from nishizhen/fix/add-permissions-to-workflow
fix: Add permissions to release workflow
This commit is contained in:
commit
7ded6680d7
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(grep -o '"version": "[^"]*' version.json | grep -o '[^"]*$')
|
VERSION=$(grep -oP '(?<="version": ")[^"]*' version.json)
|
||||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build release package
|
- name: Build release package
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user