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:
101 $patch = [int]$version_parts[2] + 1 101 $patch = [int]$version_parts[2] + 1
102 $new_version = "$major.$minor.$patch" 102 $new_version = "$major.$minor.$patch"
103 $new_version | Set-Content VERSION.txt 103 $new_version | Set-Content VERSION.txt
104 Write-Host "New version: $new_version"
105 git config user.name "GitHub Actions" 104 git config user.name "GitHub Actions"
106 git config user.email "actions@github.com" 105 git config user.email "actions@github.com"
107 git add VERSION.txt 106 git add VERSION.txt
108 git commit -m "Bump version to $new_version" 107 git commit -m "Bump version to $new_version"
109 git tag "v$new_version" 108 git tag "v$new_version"
110 echo "::set-output name=new_version::$new_version" 109 echo "new_version=$new_version" >> $GITHUB_OUTPUT
111 110
112 - name: Update Inno Setup Script with New Version 111 - name: Update Inno Setup Script with New Version
113 run: | 112 run: |
@@ -129,4 +128,4 @@ jobs:
129 draft: false 128 draft: false
130 prerelease: false 129 prerelease: false
131 env: 130 env:
132 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided token 131 GITHUB_TOKEN: ${{ secrets.ACTIONS_PAT }}