Skip to content

Commit

Permalink
Update prerelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise authored Nov 26, 2024
1 parent 38b2b47 commit d6d9534
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,19 @@ jobs:
cp real-video-enhancer/CHANGELOG.md .
version=$(python -c "from datetime import datetime; print(str(datetime.now()).split(' ')[0].replace('-',''))")
tag=$(python -c "import random, string; print(''.join(random.choices(string.ascii_letters, k=8)))")
body=$(python3 scripts/printchangelog.py)
python3 scripts/printchangelog.py > RELEASE_BODY.md
echo "Version=$version"
echo "Tag=$version"
echo "Body=$body"
echo "::set-output name=version::$version"
echo "::set-output name=tag::$version"
echo "::set-output name=body::$body"
- name: Create Release and Upload Release Asset
uses: softprops/action-gh-release@v1
with:
name: REAL Video Enhancer 2.1.5 Pre-Release
tag_name: prerelease_2.1.5
body: ${{ steps.version_tag.outputs.body }}
body_path: ./RELEASE_BODY.md
draft: false
prerelease: true

Expand Down

0 comments on commit d6d9534

Please sign in to comment.