Update .github/workflows/release.yml
This commit is contained in:
parent
d273fac91e
commit
1e4cefd115
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -37,11 +37,8 @@ jobs:
|
|||||||
cd dist
|
cd dist
|
||||||
zip -r ../release.zip .
|
zip -r ../release.zip .
|
||||||
|
|
||||||
- name: Read Version
|
- name: Set Version
|
||||||
id: version
|
run: git tag v$(cat version.txt)
|
||||||
run: |
|
|
||||||
echo "::set-output name=VERSION::$(cat version.txt)"
|
|
||||||
git tag v${{ steps.version.outputs.VERSION }}
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: https://github.com/akkuman/gitea-release-action@v1
|
uses: https://github.com/akkuman/gitea-release-action@v1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user