From 99fd7e163d21c45a7c64a61bbe6e96a157ad82f2 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 23 Oct 2019 20:20:34 +0200 Subject: [PATCH] Add automated publishing Signed-off-by: Knut Ahlers --- .repo-runner.yaml | 12 ++++++++++++ Makefile | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 .repo-runner.yaml create mode 100644 Makefile diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..5ac33f9 --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,12 @@ +--- + +image: "reporunner/golang-alpine" +checkout_dir: /go/src/github.com/Luzifer/scs-extract + +commands: + - make publish + +environment: + CGO_ENABLED: 0 + GO111MODULE: on + MOD_MODE: readonly diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..613bb58 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +default: + +publish: + curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh + bash golang.sh