From ba6551fa83d792288ff6fdcd84ef3b9d6ca285e7 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Mon, 28 Nov 2022 01:20:11 +0100 Subject: [PATCH] chore: use release permalink as manifest link --- .gitlab-ci.yml | 11 ----------- module.json | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1906f26..e7bfbbb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,7 +81,6 @@ publish-artifacts: cd .. curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file $PACKAGE_TYPE.zip "$PACKAGE_REGISTRY_URL/$CI_COMMIT_TAG/$PACKAGE_TYPE.zip" curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file dist/$PACKAGE_TYPE.json "$PACKAGE_REGISTRY_URL/$CI_COMMIT_TAG/$PACKAGE_TYPE.json" - rules: - if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/' @@ -172,13 +171,3 @@ publish-latest-manifest: curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file dist/$PACKAGE_TYPE.json "$PACKAGE_REGISTRY_URL/latest/$PACKAGE_TYPE.json" rules: - if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/' -# publish-to-foundry-admin: -# stage: publish -# image: johannesloher/foundry-publish -# variables: -# FVTT_MANIFEST_PATH: dist/$PACKAGE_TYPE.json -# FVTT_MANIFEST_URL: ${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}/downloads/$PACKAGE_TYPE.json -# FVTT_DELETE_OBSOLETE_VERSIONS: "true" -# script: foundry-publish -# rules: -# - if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/' diff --git a/module.json b/module.json index 6df1572..14d8666 100644 --- a/module.json +++ b/module.json @@ -38,7 +38,7 @@ "path": "lang/de.json" } ], - "manifest": "https://git.f3l.de/api/v4/projects/dungeonslayers%2Ftickwerk/packages/generic/tickwerk/latest/module.json", + "manifest": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/permalink/latest/downloads/module.json", "download": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/1.3.0/downloads/module.zip", "manifestPlusVersion": "1.2.0" }