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