From f7ba9d5cbc7de6c8e33508168b2ee7584d5a889a Mon Sep 17 00:00:00 2001 From: "Schmitt, Max" Date: Wed, 8 Nov 2017 10:06:38 +0100 Subject: [PATCH] Creating now tarball for the different architectures --- Makefile | 3 +++ config.dist.json | 18 ------------------ descriptor.json | 2 +- 3 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 config.dist.json diff --git a/Makefile b/Makefile index 949a869..ceea1fd 100644 --- a/Makefile +++ b/Makefile @@ -23,3 +23,6 @@ getGoDependencies: buildProject: @mkdir releases gox -output="releases/{{.OS}}_{{.Arch}}/{{.OS}}_{{.Arch}}" + find releases -maxdepth 1 -mindepth 1 -type d -exec cp build/config.json {} \; + find releases -maxdepth 1 -mindepth 1 -type d -exec cp build/schema.json {} \; + find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvjf {}.tar.bz2 {} \; diff --git a/config.dist.json b/config.dist.json deleted file mode 100644 index 7b23012..0000000 --- a/config.dist.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "./build/schema.json", - "Store": { - "DBPath": "main.db", - "ShortedIDLength": 4 - }, - "Handlers": { - "ListenAddr": ":8080", - "BaseURL": "http://localhost:3000", - "EnableGinDebugMode": false, - "OAuth": { - "Google": { - "ClientID": "", - "ClientSecret": "" - } - } - } -} \ No newline at end of file diff --git a/descriptor.json b/descriptor.json index 03a48f8..9215e70 100644 --- a/descriptor.json +++ b/descriptor.json @@ -9,7 +9,7 @@ }, "files": [ { - "includePattern": "releases/(.*)", + "includePattern": "releases/(.*\/.tar\/.bz2)", "uploadPattern": "/$1" } ],