Commit 4a14bb08c2
Unsigned
Layout: unified · split
.github/workflows/ci-cd.yml +4 −3
| @@ -22,7 +22,7 @@ jobs: | ||
| 22 | 22 | go-version: '1.23.2' |
| 23 | 23 | |
| 24 | 24 | - name: Install Dependencies |
| 25 | run: go mod tidy # Install Go dependencies | |
| 25 | run: go mod tidy | |
| 26 | 26 | |
| 27 | 27 | - name: Comment go-winio for Linux Build |
| 28 | 28 | run: | |
| @@ -90,7 +90,7 @@ jobs: | ||
| 90 | 90 | with: |
| 91 | 91 | name: curd-binaries |
| 92 | 92 | path: Build # Specify where to download the artifacts |
| 93 | ||
| 93 | ||
| 94 | 94 | - name: Bump Version |
| 95 | 95 | id: bump_version |
| 96 | 96 | run: | |
| @@ -107,6 +107,7 @@ jobs: | ||
| 107 | 107 | git add VERSION.txt |
| 108 | 108 | git commit -m "Bump version to $new_version" |
| 109 | 109 | git tag "v$new_version" |
| 110 | echo "::set-output name=new_version::$new_version" | |
| 110 | 111 | |
| 111 | 112 | - name: Update Inno Setup Script with New Version |
| 112 | 113 | run: | |
| @@ -124,7 +125,7 @@ jobs: | ||
| 124 | 125 | uses: softprops/action-gh-release@v1 |
| 125 | 126 | with: |
| 126 | 127 | tag_name: "v${{ steps.bump_version.outputs.new_version }}" # Use the bumped version as tag |
| 127 | release_name: "Curd v${{ steps.bump_version.outputs.new_version }}" # Use new version in release name | |
| 128 | name: "Curd v${{ steps.bump_version.outputs.new_version }}" # Use new version in release name | |
| 128 | 129 | draft: false |
| 129 | 130 | prerelease: false |
| 130 | 131 | env: |