Skip to content

Commit 300a989

Browse files
authored
fix: build release assets as infracost-preview (#1)
* fix: build release assets as infracost-preview * flyby spelling correction * flyby spelling correction
1 parent 3eb3e03 commit 300a989

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,20 @@ jobs:
111111
if [ "$GOOS" = "windows" ]; then
112112
SUFFIX=".exe"
113113
fi
114-
go build -ldflags "-X github.com/infracost/cli/version.Version=${VERSION}" -o "bin/infracost${SUFFIX}" main.go
114+
go build -ldflags "-X github.com/infracost/cli/version.Version=${VERSION}" -o "bin/infracost-preview${SUFFIX}" main.go
115115
116116
- name: Package
117117
env:
118118
VERSION: ${{ needs.version.outputs.version }}
119119
GOOS: ${{ matrix.goos }}
120120
GOARCH: ${{ matrix.goarch }}
121121
run: |
122-
ARCHIVE="infracost_${VERSION}_${GOOS}_${GOARCH}"
122+
ARCHIVE="infracost-preview_${VERSION}_${GOOS}_${GOARCH}"
123123
mkdir -p dist
124124
if [ "$GOOS" = "windows" ]; then
125-
(cd bin && zip -r "../dist/${ARCHIVE}.zip" "infracost.exe")
125+
(cd bin && zip -r "../dist/${ARCHIVE}.zip" "infracost-preview.exe")
126126
else
127-
tar -czf "dist/${ARCHIVE}.tar.gz" -C bin infracost
127+
tar -czf "dist/${ARCHIVE}.tar.gz" -C bin infracost-preview
128128
fi
129129
130130
- name: Upload

0 commit comments

Comments
 (0)