Skip to content

Commit 9f42605

Browse files
committed
update ci
1 parent 40ae72d commit 9f42605

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
go-version-file: "./go.mod"
2121

2222
- name: Build
23-
run: go build -o assets-gen cmd/cli/main.go
23+
run: go build -o assets-gen cmd/assetsgen/main.go
2424

2525
- name: vet
2626
run: go vet ./...

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
- name: Build binaries
2424
run: |
2525
echo "Building Linux binary..."
26-
GOOS=linux GOARCH=amd64 go build -o assets-gen-linux cmd/cli/main.go
26+
GOOS=linux GOARCH=amd64 go build -o assets-gen-linux cmd/assetsgen/main.go
2727
2828
echo "Building Windows binary..."
29-
GOOS=windows GOARCH=amd64 go build -o assets-gen-windows.exe cmd/cli/main.go
29+
GOOS=windows GOARCH=amd64 go build -o assets-gen-windows.exe cmd/assetsgen/main.go
3030
3131
echo "Building macOS binary..."
32-
GOOS=darwin GOARCH=amd64 go build -o assets-gen-macos cmd/cli/main.go
32+
GOOS=darwin GOARCH=amd64 go build -o assets-gen-macos cmd/assetsgen/main.go
3333
3434
- name: Create GitHub Release & upload assets
3535
uses: softprops/action-gh-release@v2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
build:
66
@echo "Building..."
7-
@go build -o build/assets-gen cmd/cli/main.go
7+
@go build -o build/assets-gen cmd/assetsgen/main.go
88

99
run:
1010
@go run cmd/cli/main.go

cmd/assetsgen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func main() {
1515
startTime := time.Now()
1616

1717
cmd := &cli.Command{
18-
Usage: "A CLI that will help you generate app icons and images for various platforms",
18+
Usage: "A CLI that will help you generate app icons and images for various platforms",
1919
Version: "v1.0.1",
2020
Commands: []*cli.Command{
2121
cmd.AndroidAppIcon(),

0 commit comments

Comments
 (0)