Skip to content

Commit

Permalink
Update create-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sajde authored Dec 19, 2024
1 parent 19fd8f9 commit 3c2f75b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,17 @@ jobs:
VER=$(cat VERSION)
echo "VERSION=$VER" >> $GITHUB_ENV
- name: Test
run: ls
- name: Get build information from build file
run: |
BUI=$(cat BUILD)
echo "BUILD=$BUI" >> $GITHUB_ENV
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$VERSION" 'update.txt' \
gh release create "$VERSION-$BUILD" 'update.txt' \
--repo="$GITHUB_REPOSITORY" \
--title="$VERSION" \
--generate-notes

0 comments on commit 3c2f75b

Please sign in to comment.