Commit 3c5755c109

3c5755c109a1e1d089f05f402452b97e4bbf3676

parent: 4a14bb08c2

Unsigned

Wraient <wraient.911@gmail.com> · 2024-10-26 20:48 UTC

Genius me

Layout: unified · split

.github/workflows/ci-cd.yml +2 −3
@@ -101,13 +101,12 @@ jobs:
101101 $patch = [int]$version_parts[2] + 1
102102 $new_version = "$major.$minor.$patch"
103103 $new_version | Set-Content VERSION.txt
104 Write-Host "New version: $new_version"
105104 git config user.name "GitHub Actions"
106105 git config user.email "actions@github.com"
107106 git add VERSION.txt
108107 git commit -m "Bump version to $new_version"
109108 git tag "v$new_version"
110 echo "::set-output name=new_version::$new_version"
109 echo "new_version=$new_version" >> $GITHUB_OUTPUT
111110
112111 - name: Update Inno Setup Script with New Version
113112 run: |
@@ -129,4 +128,4 @@ jobs:
129128 draft: false
130129 prerelease: false
131130 env:
132 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided token
131 GITHUB_TOKEN: ${{ secrets.ACTIONS_PAT }}