Skip to content

Commit

Permalink
Genius me
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraient committed Oct 26, 2024
1 parent 4a14bb0 commit 3c5755c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,12 @@ jobs:
$patch = [int]$version_parts[2] + 1
$new_version = "$major.$minor.$patch"
$new_version | Set-Content VERSION.txt
Write-Host "New version: $new_version"
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add VERSION.txt
git commit -m "Bump version to $new_version"
git tag "v$new_version"
echo "::set-output name=new_version::$new_version"
echo "new_version=$new_version" >> $GITHUB_OUTPUT
- name: Update Inno Setup Script with New Version
run: |
Expand All @@ -129,4 +128,4 @@ jobs:
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided token
GITHUB_TOKEN: ${{ secrets.ACTIONS_PAT }}

0 comments on commit 3c5755c

Please sign in to comment.