Update .gitea/workflows/build.yaml
Some checks failed
Release Version / build (push) Failing after 49s
Some checks failed
Release Version / build (push) Failing after 49s
This commit is contained in:
parent
abdc5486e5
commit
11af0e86f9
|
@ -33,11 +33,21 @@ jobs:
|
||||||
git tag $new_version
|
git tag $new_version
|
||||||
git push origin $new_version
|
git push origin $new_version
|
||||||
|
|
||||||
|
- name: Get latest commit ID
|
||||||
|
id: get_commit
|
||||||
|
run: |
|
||||||
|
commit_id=$(git rev-parse HEAD)
|
||||||
|
echo "commit_id=$commit_id" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.new_version }}
|
tag_name: ${{ env.new_version }}
|
||||||
release_name: Release ${{ env.new_version }}
|
release_name: Release ${{ env.new_version }}
|
||||||
|
release_description: |
|
||||||
|
Automatic release by Gitea CI
|
||||||
|
Release version ${{ env.new_version }}.
|
||||||
|
Commit ID: ${{ env.commit_id }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user