@@ -22,9 +22,11 @@ generate:
2222
2323clean-darwin :
2424 rm -rf bin/darwin
25+ rm -rf release/darwin
2526
2627clean-linux :
2728 rm -rf bin/linux
29+ rm -rf release/linux
2830
2931clean :
3032 rm -rf .build
@@ -38,6 +40,7 @@ build-project-darwin:
3840 mkdir -p bin/darwin
3941 make build-project
4042 cp ./.build/debug/guaka-cli bin/darwin/guaka
43+ @echo " \nDarwin version built at bin/darwin/guaka\n"
4144
4245build-project-linux :
4346 mkdir -p bin/linux
@@ -47,15 +50,49 @@ build-project-linux:
4750release-darwin :
4851 bash scripts/release-darwin.sh
4952
53+ release-darwin-local :
54+ rm -rf .build
55+ make build-project-darwin
56+ bash scripts/release-darwin.sh
57+
5058release-linux :
5159 bash scripts/release-linux.sh
5260
53- publish-homebrew-mac :
61+ release-linux-local :
62+ rm -rf .build
63+ make clean-linux
64+ make build-project-linux
65+
66+ publish-local-darwin :
5467 bash scripts/publish-homebrew-mac.sh
5568
56- release-and-deploy-darwin :
57- make release-darwin
58- make publish-homebrew-mac
69+ build-linux-docker :
70+ @echo " Runs release-linux-local inside a docker image"
71+ @echo " The built file is located at bin/linux/guaka"
72+ docker-compose run -w /work swift
73+ @echo " \nLinux version built at bin/linux/guaka\n"
74+
75+ build-all-local : clean build-linux-docker build-project-darwin
76+ @echo " Binaries built at bin/\n"
77+
78+ release-local :
79+ make build-all-local
80+ @echo " Starting the github release for version ${VERSION} /\n"
81+ bash scripts/github-release.sh
82+
83+ @echo "Upload darwin binary\n"
84+ bash scripts/release-darwin.sh
85+
86+ @echo "Upload linux binary\n"
87+ bash scripts/release-linux.sh
88+
89+ publish-local :
90+ make publish-local-darwin
91+
92+ release-publish-local :
93+ make release-local
94+ make publish-local
95+
5996
6097release-and-deploy :
6198 if [[ " $TRAVIS_OS_NAME " == " osx" ]]; then make build-project-darwin release-darwin VERSION=${TRAVIS_TAG} GITHUB_TOKEN=${GITHUB_TOKEN} ; fi
0 commit comments