@@ -51,26 +51,26 @@ jobs:
5151
5252 - name : Build and package for Linux
5353 run : |
54- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${{ env.RELEASE_VERSION }}" -o myapp-linux-amd64
55- tar -czvf myapp -linux-amd64-${{ env.RELEASE_VERSION }}.tar.gz myapp-linux-amd64
54+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${{ env.RELEASE_VERSION }}" -o SBOLogProcessor
55+ tar -czvf SBOLogProcessor -linux-amd64-${{ env.RELEASE_VERSION }}.tar.gz SBOLogProcessor
5656 working-directory : ./ # Adjust if your main.go is in a subfolder
5757
5858 - name : Build and package for Windows
5959 run : |
60- CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${{ env.RELEASE_VERSION }}" -o myapp-windows-amd64 .exe
61- zip myapp -windows-amd64-${{ env.RELEASE_VERSION }}.zip myapp-windows-amd64 .exe
60+ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${{ env.RELEASE_VERSION }}" -o SBOLogProcessor .exe
61+ zip SBOLogProcessor -windows-amd64-${{ env.RELEASE_VERSION }}.zip SBOLogProcessor .exe
6262 working-directory : ./
6363
6464 - name : Build and package for macOS (AMD64)
6565 run : |
66- CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${{ env.RELEASE_VERSION }}" -o myapp-darwin-amd64
67- tar -czvf myapp -darwin-amd64-${{ env.RELEASE_VERSION }}.tar.gz myapp-darwin-amd64
66+ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${{ env.RELEASE_VERSION }}" -o SBOLogProcessor
67+ tar -czvf SBOLogProcessor -darwin-amd64-${{ env.RELEASE_VERSION }}.tar.gz SBOLogProcessor
6868 working-directory : ./
6969
7070 - name : Build and package for macOS (ARM64 - Apple Silicon)
7171 run : |
72- CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-X main.version=${{ env.RELEASE_VERSION }}" -o myapp-darwin-arm64
73- tar -czvf myapp -darwin-arm64-${{ env.RELEASE_VERSION }}.tar.gz myapp-darwin-arm64
72+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-X main.version=${{ env.RELEASE_VERSION }}" -o SBOLogProcessor
73+ tar -czvf SBOLogProcessor -darwin-arm64-${{ env.RELEASE_VERSION }}.tar.gz SBOLogProcessor
7474 working-directory : ./
7575
7676 - name : Create Release
0 commit comments