From 55b07f330cbff5a93935c4c47fa661baa82e9805 Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Wed, 24 Jul 2019 21:04:15 -0700 Subject: [PATCH] more docs, actually allow public access to release zips --- Makefile | 8 ++++---- README.md | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c61b8c0..3734385 100644 --- a/Makefile +++ b/Makefile @@ -43,12 +43,12 @@ dist: dist/kmk-latest.zip dist/kmk-latest.unoptimized.zip dist/$(DIST_DESCRIBE). dist-deploy: devdeps dist @echo "===> Uploading artifacts to https://cdn.kmkfw.io/" - @$(PIPENV) run s3cmd -c .s3cfg put dist/kmk-$(DIST_DESCRIBE).zip dist/kmk-$(DIST_DESCRIBE).unoptimized.zip s3://kmk-releases/ >/dev/null + @$(PIPENV) run s3cmd -c .s3cfg put -P dist/kmk-$(DIST_DESCRIBE).zip dist/kmk-$(DIST_DESCRIBE).unoptimized.zip s3://kmk-releases/ >/dev/null @[[ "$${CIRCLE_BRANCH}" == "master" ]] && echo "====> Uploading artifacts as 'latest' to https://cdn.kmkfw.io/" || true - @[[ "$${CIRCLE_BRANCH}" == "master" ]] && $(PIPENV) run s3cmd -c .s3cfg put dist/kmk-latest.zip dist/kmk-latest.unoptimized.zip s3://kmk-releases/ >/dev/null || true + @[[ "$${CIRCLE_BRANCH}" == "master" ]] && $(PIPENV) run s3cmd -c .s3cfg put -P dist/kmk-latest.zip dist/kmk-latest.unoptimized.zip s3://kmk-releases/ >/dev/null || true @[[ -n "$${CIRCLE_TAG}" ]] && echo "====> Uploading artifacts as '$${CIRCLE_TAG}' to https://cdn.kmkfw.io/" || true - @[[ -n "$${CIRCLE_TAG}" ]] && $(PIPENV) run s3cmd -c .s3cfg put dist/kmk-latest.zip s3://kmk-releases/$${CIRCLE_TAG}.zip >/dev/null || true - @[[ -n "$${CIRCLE_TAG}" ]] && $(PIPENV) run s3cmd -c .s3cfg put dist/kmk-latest.unoptimized.zip s3://kmk-releases/$${CIRCLE_TAG}.unoptimized.zip >/dev/null || true + @[[ -n "$${CIRCLE_TAG}" ]] && $(PIPENV) run s3cmd -c .s3cfg put -P dist/kmk-latest.zip s3://kmk-releases/$${CIRCLE_TAG}.zip >/dev/null || true + @[[ -n "$${CIRCLE_TAG}" ]] && $(PIPENV) run s3cmd -c .s3cfg put -P dist/kmk-latest.unoptimized.zip s3://kmk-releases/$${CIRCLE_TAG}.unoptimized.zip >/dev/null || true dist/kmk-latest.zip: compile @echo "===> Building optimized ZIP" diff --git a/README.md b/README.md index 310ccf0..df65260 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,11 @@ written and configured in in public beta, however should handle almost all workflows without major issues**. +You can always find the latest releases on our CDN, in [compiled and +optimized](https://cdn.kmkfw.io/kmk-latest.zip) and [raw, hackable text +file](https://cdn.kmkfw.io/kmk-latest.unoptimized.zip) forms. These follow the +`master` branch here on GitHub. + > If you need support with KMK or just want to say hi, find us in > [#general:kmkfw.io on Matrix](https://matrix.to/#/#general:kmkfw.io). Other > channels exist in [the same community](https://matrix.to/#/+kmk:kmkfw.io).