Skip to content

Commit

Permalink
chore: Release creation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hdescottes committed Jun 26, 2024
1 parent 9a9b64b commit f904545
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release creation

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Prep Release
id: prep
run: curl --silent "https://api.github.com/repos/hdescottes/GdxGame/releases/latest"
| grep -Po "(?<=\"tag_name\": \").*(?=\")" >> $VERSION

echo $VERSION

# Parse changelog

echo 'changelog<<EOF' >> $GITHUB_ENV
echo $CHANGELOG >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV

# - name: Create Release
# id: create_release
# uses: actions/create-release@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ env.RELEASE_VERSION }}
# release_name: Release ${{ env.RELEASE_VERSION }}
# body: ${{ env.GITHUB_ENV.changelog }}
# draft: false
# prerelease: true

0 comments on commit f904545

Please sign in to comment.