Skip to content

Commit 05952ce

Browse files
committed
fix: Correct artifact paths for Windows release
1 parent 01af6a9 commit 05952ce

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,21 @@ jobs:
6565
with:
6666
path: install.iss
6767

68-
- name: Upload Artifacts
68+
- name: Upload Artifacts (non-Windows)
69+
if: matrix.os != 'windows-latest'
70+
uses: actions/upload-artifact@v4
71+
with:
72+
name: build-artifacts-${{ matrix.os }}-${{ matrix.goarch }}
73+
path: ${{ matrix.output_name }}
74+
75+
- name: Upload Artifacts (Windows)
76+
if: matrix.os == 'windows-latest'
6977
uses: actions/upload-artifact@v4
7078
with:
7179
name: build-artifacts-${{ matrix.os }}-${{ matrix.goarch }}
7280
path: |
73-
${{ matrix.output_name }}
74-
${{ matrix.os == 'windows-latest' && 'Output/stackmatch-cli-setup.exe' || '' }}
81+
stackmatch-cli.exe
82+
Output/stackmatch-cli-setup.exe
7583
7684
release:
7785
needs: build

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/spf13/cobra"
77
)
88

9-
const cliVersion = "0.1.6" // Define the current version
9+
const cliVersion = "0.2.0" // Define the current version
1010

1111
var versionCmd = &cobra.Command{
1212
Use: "version",

0 commit comments

Comments
 (0)