diff options
| author | Shulhan <ms@kilabit.info> | 2023-12-07 00:00:05 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-12-07 03:51:32 +0700 |
| commit | 045c2513a96177c38677f13c75639a007a355d57 (patch) | |
| tree | 6deb440e22dc878f4e74f4d643aec1711f2a6bed | |
| parent | 4283ebdbf813633e7bedd11f404f8a0489030836 (diff) | |
| download | awwan-045c2513a96177c38677f13c75639a007a355d57.tar.xz | |
all: add tasks to release binaries automatically using karajo
The karajo server is live at build.kilabit.info, triggered by github
webhook.
| -rw-r--r-- | Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -135,11 +135,27 @@ build-all-arm64: ./cmd/awwan/;\ done + +## Task to release binaries automatically using karajo at +## build.kilabit.info. + .PHONY: release-sync release-sync: - rsync -av --progress ./_bin/dl/ awwan.org:/srv/awwan/dl/ + sudo chown -R ms:karajo /srv/awwan/ + sudo chmod -R g+w /srv/awwan/ + rsync -rtvO --progress ./_bin/dl/ /srv/awwan/dl/ .PHONY: release-tip release-tip: embed build-all-amd64 build-all-arm64 release-sync + +## Task to release binaries manually from local. + +.PHONY: release-sync-local +release-sync-local: + rsync -av --progress ./_bin/dl/ awwan.org:/srv/awwan/dl/ + +.PHONY: release-tip-local +release-tip-local: embed build-all-amd64 build-all-arm64 release-sync-local + #}}} |
