diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf27764..039e8d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,71 +10,5 @@ include: ref: 1.0.1 file: '/release-node.yml' - project: '$CI_PROJECT_ROOT_NAMESPACE/ci-tools/pipeline/ci-tools-pipeline-project-foundry-module' - ref: 0.2.2 + ref: main file: '/pipeline-foundry-module.yml' - -#image: node:14.15.5-stretch-slim -# -#variables: -# GIT_DEPTH: 0 -# GIT_STRATEGY: fetch -# -#stages: -# - build -# - release -# -#build: -# stage: build -# image: $CI_REGISTRY/$CI_PROJECT_ROOT_NAMESPACE/ci-tools/docker/ci-tools-docker-node-14:1.0.0 -# variables: -# MODULE_DIRS: lang styles -# MODULE_ZIP_DIRS: elements lang styles -# extends: .build -# -#.build: -# stage: build -# image: $CI_REGISTRY/$CI_PROJECT_ROOT_NAMESPACE/ci-tools/docker/ci-tools-docker-node-14:1.0.0 -# before_script: -# - npm ci -# - npm run build -# script: -# - cp -r $MODULE_DIRS dist/ -# - cp module.json dist -# - cd dist -# - zip $CI_PROJECT_NAME.zip -r *.* $MODULE_ZIP_DIRS -x ".*" -# - echo ARTIFACT_LOC="${CI_JOB_URL}/artifacts/raw" > $CI_PROJECT_DIR/variables.env -# artifacts: -# name: $CI_COMMIT_REF_NAME -# when: on_success -# reports: -# dotenv: variables.env -# paths: -# - dist/$CI_PROJECT_NAME.zip -# - dist/module.json -# expire_in: never -# only: -# - tags -# - master -# - main -# -#release: -# stage: release -# image: registry.gitlab.com/gitlab-org/release-cli:latest -# script: -# - echo 'Running the release job.' -# release: -# tag_name: $CI_COMMIT_TAG -# name: 'Release $CI_COMMIT_TAG' -# description: './CHANGELOG.md' -# assets: -# links: -# - name: 'module' -# url: '$ARTIFACT_LOC/dist/$CI_PROJECT_NAME.zip' -# filepath: '/dist/$CI_PROJECT_NAME.zip' -# link_type: package -# - name: 'manifest' -# url: '$ARTIFACT_LOC/dist/module.json' -# filepath: '/dist/module.json' -# link_type: package -# only: -# - tags diff --git a/module.json b/module.json index 38078b7..d98246a 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "wfrp4e-actor-sheet-print", "title": "[WFRP4] Actor Sheet Print", "description": "Functions to print actor sheet", - "version": "1.0.2", + "version": "${MODULE_VERSION}", "minimumCoreVersion": "0.8.0", "compatibleCoreVersion": "0.8.9", "author": "Skeroujvapluvit", @@ -23,8 +23,8 @@ ], "styles": ["./styles/main.css"], "url": "https://github.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print", - "download": "https://github.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print/blob/dist/dist/wfrp4e-actor-sheet-print.zip?raw=true", - "manifest": "https://raw.githubusercontent.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print/dist/module.json", - "readme": "https://raw.githubusercontent.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print/dist/README.md", - "changelog": "https://raw.githubusercontent.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print/dist/CHANGELOG.md" + "download": "https://gitlab.com/greenskin-foundryvtt/wfrp4-actor-sheet-print/-/releases/${MODULE_VERSION}/downloads/dist/wfrp4-actor-sheet-print.zip", + "manifest": "https://gitlab.com/greenskin-foundryvtt/wfrp4-actor-sheet-print/-/releases/${MODULE_VERSION}/downloads/dist/module.json", + "readme": "https://gitlab.com/greenskin-foundryvtt/wfrp4-actor-sheet-print/-/raw/${MODULE_VERSION}/README.md", + "changelog": "https://gitlab.com/greenskin-foundryvtt/wfrp4-actor-sheet-print/-/raw/${MODULE_VERSION}/CHANGELOG.md" }