File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 2222 run : make build
2323 - name : List binaries
2424 run : ls -l ./dist
25- - name : Upload the Rodeo binaries
25+ - name : Upload binaries
2626 uses : svenstaro/upload-release-action@v2
2727 with :
2828 repo_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11BINARY_NAME =netmap
2- VERSION =v0.1.2
2+ VERSION =v0.1.3
33DIST_DIR =dist
44
55build :
66 mkdir -p ${DIST_DIR}
7- GOOS=darwin GOARCH=amd64 go build -v -o ${DIST_DIR} /${BINARY_NAME} -darwin-amd64-${VERSION} .
8- GOOS=linux GOARCH=amd64 go build -v -o ${DIST_DIR} /${BINARY_NAME} -linux-amd64-${VERSION} .
9- GOOS=linux GOARCH=arm64 go build -v -o ${DIST_DIR} /${BINARY_NAME} -linux-arm64-${VERSION} .
10- GOOS=windows GOARCH=amd64 go build -v -o ${DIST_DIR} /${BINARY_NAME} -windows-amd64-${VERSION} .exe .
7+ GOOS=darwin GOARCH=amd64 go build -ldflags=" -s -w" -v -o ${DIST_DIR} /${BINARY_NAME} -darwin-amd64-${VERSION} .
8+ GOOS=darwin GOARCH=arm64 go build -ldflags=" -s -w" -v -o ${DIST_DIR} /${BINARY_NAME} -darwin-arm64-${VERSION} .
9+ GOOS=linux GOARCH=amd64 go build -ldflags=" -s -w" -v -o ${DIST_DIR} /${BINARY_NAME} -linux-amd64-${VERSION} .
10+ GOOS=linux GOARCH=arm64 go build -ldflags=" -s -w" -v -o ${DIST_DIR} /${BINARY_NAME} -linux-arm64-${VERSION} .
11+ GOOS=windows GOARCH=amd64 go build -ldflags=" -s -w" -v -o ${DIST_DIR} /${BINARY_NAME} -windows-amd64-${VERSION} .exe .
1112
1213clean :
1314 go clean
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ var versionCmd = &cobra.Command{
1515 Short : "Print the version number of Netmap" ,
1616 Long : `All software has versions. This is Netmap's` ,
1717 Run : func (cmd * cobra.Command , args []string ) {
18- fmt .Println ("netmap v0.1.2 -- HEAD" )
18+ fmt .Println ("netmap v0.1.3 -- HEAD" )
1919 },
2020}
You can’t perform that action at this time.
0 commit comments