From 2cde88f5f1b6548007c193f767ad6aa44478f0d9 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 19 May 2018 23:57:05 +0200 Subject: [PATCH] Add automated Github publishing Signed-off-by: Knut Ahlers --- .gitignore | 1 - .repo-runner.yaml | 10 ++++++++++ Makefile | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .repo-runner.yaml create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 63b9df5..ad9cc87 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -Makefile gpxhydrant diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..ebf1b62 --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,10 @@ +--- + +image: "reporunner/golang-alpine" +checkout_dir: /go/src/github.com/Luzifer/gpxhydrant + +commands: + - make publish + +environment: + CGO_ENABLED: 0 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