Skip to content

Commit 206ef35

Browse files
committed
Update makefile with iceburg publishing
1 parent 3337abd commit 206ef35

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,17 @@ _mkrelease: _release_check $(NAMESPACE)
127127
curl -sL -H "Authorization: token $(GH_TOKEN)" -H "Content-Type: text/x-shellscript" --data-binary @"dist/dmc" -X POST $(GH_UPLOAD_URL)/repos/$(GH_PROJECT)/releases/$$id/assets?name=dmc &>/dev/null ; \
128128
)
129129

130+
$(info * publishing to get.iceburg.net/$(NAMESPACE)/latest-$(RELEASE_BRANCH)/)
131+
@( \
132+
set -e ; \
133+
cd $(CURDIR)/dist ; \
134+
for file in * ; do \
135+
echo "# @$(NAMESPACE)_UPDATE_URL=http://get.iceburg.net/$(NAMESPACE)/latest-$(RELEASE_BRANCH)/$$file" >> $$file ; \
136+
done ; \
137+
drclone sync . iceburg_s3:get.iceburg.net/$(NAMESPACE)/latest-$(RELEASE_BRANCH) ; \
138+
)
139+
140+
130141
#
131142
# sanity checks
132143
.PHONY: _release_check _gh_check _wc_check

0 commit comments

Comments
 (0)