Commit 3c5755c109
Unsigned
Layout: unified · split
.github/workflows/ci-cd.yml +2 −3
| @@ -101,13 +101,12 @@ jobs: | ||
| 101 | 101 | $patch = [int]$version_parts[2] + 1 |
| 102 | 102 | $new_version = "$major.$minor.$patch" |
| 103 | 103 | $new_version | Set-Content VERSION.txt |
| 104 | Write-Host "New version: $new_version" | |
| 105 | 104 | git config user.name "GitHub Actions" |
| 106 | 105 | git config user.email "actions@github.com" |
| 107 | 106 | git add VERSION.txt |
| 108 | 107 | git commit -m "Bump version to $new_version" |
| 109 | 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 | 111 | - name: Update Inno Setup Script with New Version |
| 113 | 112 | run: | |
| @@ -129,4 +128,4 @@ jobs: | ||
| 129 | 128 | draft: false |
| 130 | 129 | prerelease: false |
| 131 | 130 | env: |
| 132 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided token | |
| 131 | GITHUB_TOKEN: ${{ secrets.ACTIONS_PAT }} | |