From 03ce2b525d448de5bb582525adecc5ef64950a18 Mon Sep 17 00:00:00 2001 From: Leratier Bretonnien Date: Thu, 1 Oct 2020 21:23:52 +0000 Subject: [PATCH 1/3] Update module.json --- module.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module.json b/module.json index 384a2b2..874a0a0 100644 --- a/module.json +++ b/module.json @@ -28,7 +28,7 @@ ], "languages": [ ], - "manifest": "https://", - "download": "https://", - "url": "" + "manifest": "https://gitlab.com/LeRatierBretonnien/wfrp4e-unofficial-grimoire/raw/master/module.json", + "download": "https://gitlab.com/LeRatierBretonnien/wfrp4e-unofficial-grimoire/-/archive/master/wfrp4e-unofficial-grimoire-master.zip", + "url": "https://gitlab.com/LeRatierBretonnien/wfrp4e-unofficial-grimoire/" } From e6f1fc8e0212f709dd553012332cc50d97233980 Mon Sep 17 00:00:00 2001 From: Leratier Bretonnien Date: Thu, 1 Oct 2020 21:25:30 +0000 Subject: [PATCH 2/3] Add .gitlab-ci.yml --- .gitlab-ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c8dfeb9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +image: python:3-alpine + +before_script: + - apk update + - apk add zip + +stages: + - test + - build + +test: + stage: test + script: + - python -mjson.tool 'fr.json' > /dev/null + - python -mjson.tool 'module.json' > /dev/null + +build: + stage: build + script: + - zip wfrp4e-unofficial-grimoire.zip -r *.js *.json *.md compendium lang tables -x ".*" + artifacts: + name: wfrp4e-unofficial-grimoire + when: on_success + paths: + - wfrp4e-unofficial-grimoire.zip + when: on_success + only: + - tags + - master From bf74a48e50c1747572e3d9bad80d3762cf40409d Mon Sep 17 00:00:00 2001 From: Leratier Bretonnien Date: Thu, 1 Oct 2020 21:26:24 +0000 Subject: [PATCH 3/3] Update .gitlab-ci.yml --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8dfeb9..0b8f7e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,6 @@ stages: test: stage: test script: - - python -mjson.tool 'fr.json' > /dev/null - python -mjson.tool 'module.json' > /dev/null build: