-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -129,4 +128,4 @@ jobs: | |
draft: false | ||
prerelease: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided token | ||
GITHUB_TOKEN: ${{ secrets.ACTIONS_PAT }} |