Skip to content

Commit

Permalink
0.9.493
Browse files Browse the repository at this point in the history
- GH
  • Loading branch information
RobbyV2 committed Nov 22, 2024
1 parent 04a9129 commit dee4ae4
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,11 @@ jobs:
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
TAG_NAME=$(git log -1 --pretty=%s | head -n 1 | awk '{print $1}')
TAG_NAME=$(git log -1 --pretty=%s | grep -oE '\b[0-9]+\.[0-9]+\.[0-9]+\b')
TAG_NAME="v${TAG_NAME}"
git tag "$TAG_NAME"
git push origin "$TAG_NAME"
echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_ENV
- name: Download Windows Artifacts
uses: actions/download-artifact@v4
Expand All @@ -146,15 +147,9 @@ jobs:
- name: Create Release and Upload Assets
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ github.event.head_commit.message }}
name: Pseudolang v${{ github.event.head_commit.message }}
tag_name: ${{ env.TAG_NAME }}
name: Pseudolang ${{ env.TAG_NAME }}
body: |
See the full changelog: https://github.com/${{ github.repository }}/compare/v${{ github.event.before }}...v${{ github.event.head_commit.message }}
draft: false
prerelease: false
files: |
./release/fplc-x64.exe
./release/pseudolang-setup-x64.exe
./release/fplc-linux-x64
See the full changelog: https://github.com/${{ github.repository }}/compare/${{ env.TAG_NAME }}~1...${{ env.TAG_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit dee4ae4

Please sign in to comment.