From 74c5aed42102ba83ba2fce5bc29dab74f67946ae Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 8 Sep 2019 12:59:17 +0200 Subject: [PATCH] Add auto-build Signed-off-by: Knut Ahlers --- .repo-runner.yaml | 12 ++++++++++++ Makefile | 3 +++ 2 files changed, 15 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..96487c5 --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,12 @@ +--- + +image: "reporunner/golang-alpine" +checkout_dir: /go/src/github.com/Luzifer/id3patch + +commands: + - make publish + +environment: + CGO_ENABLED: 0 + GO111MODULE: on + MOD_MODE: readonly diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9338123 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +publish: + curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh + bash golang.sh