Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0106cfd53 | ||
|
|
91d8af2079 | ||
|
|
a7229712ad | ||
|
|
9594df4f3e | ||
|
|
8a66695365 | ||
|
|
51c5050e35 | ||
|
|
55d9cde049 | ||
|
|
c76b8cca61 | ||
|
|
9fa08fc14b | ||
|
|
70c4f1a158 | ||
|
|
ac8e04cf1b | ||
|
|
a720449003 | ||
|
|
46840cb81e | ||
|
|
f0993952e6 | ||
|
|
51aaa4268a |
@@ -1,62 +1,14 @@
|
|||||||
image: node:14.15.5-stretch-slim
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: 0
|
MODULE_DIRS: lang styles
|
||||||
GIT_STRATEGY: fetch
|
MODULE_ZIP_DIRS: elements lang styles
|
||||||
|
|
||||||
stages:
|
include:
|
||||||
- build
|
- project: '$CI_PROJECT_ROOT_NAMESPACE/ci-tools/pipeline/ci-tools-pipeline-release'
|
||||||
- release
|
ref: 1.0.0
|
||||||
|
file: '/release-common.yml'
|
||||||
build:
|
- project: '$CI_PROJECT_ROOT_NAMESPACE/ci-tools/pipeline/ci-tools-pipeline-release-node'
|
||||||
stage: build
|
ref: 1.0.1
|
||||||
before_script:
|
file: '/release-node.yml'
|
||||||
- apt update
|
- project: '$CI_PROJECT_ROOT_NAMESPACE/ci-tools/pipeline/ci-tools-pipeline-project-foundry-module'
|
||||||
- apt install -y zip
|
ref: main
|
||||||
script:
|
file: '/pipeline-foundry-module.yml'
|
||||||
- npm ci
|
|
||||||
- npm run build
|
|
||||||
- mkdir -p dist/lang
|
|
||||||
- mkdir -p dist/styles
|
|
||||||
- cp lang/* dist/lang/
|
|
||||||
- cp styles/* dist/styles/
|
|
||||||
- cp module.json dist
|
|
||||||
- cd dist
|
|
||||||
- zip wfrp4e-actor-sheet-print.zip -r *.* elements lang styles -x ".*"
|
|
||||||
artifacts:
|
|
||||||
name: wfrp4e-actor-sheet-print
|
|
||||||
when: on_success
|
|
||||||
paths:
|
|
||||||
- dist/wfrp4e-actor-sheet-print.zip
|
|
||||||
- dist/module.json
|
|
||||||
expire_in: 1 day
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
- master
|
|
||||||
|
|
||||||
release:
|
|
||||||
stage: release
|
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
|
||||||
script:
|
|
||||||
- echo 'Running the release job.'
|
|
||||||
artifacts:
|
|
||||||
name: wfrp4e-actor-sheet-print
|
|
||||||
when: on_success
|
|
||||||
paths:
|
|
||||||
- dist/wfrp4e-actor-sheet-print.zip
|
|
||||||
- dist/module.json
|
|
||||||
expire_in: never
|
|
||||||
release:
|
|
||||||
tag_name: $CI_COMMIT_TAG
|
|
||||||
name: 'Release $CI_COMMIT_TAG'
|
|
||||||
description: './CHANGELOG.md'
|
|
||||||
assets:
|
|
||||||
links:
|
|
||||||
- name: 'module'
|
|
||||||
url: 'https://greenskin-foundryvtt.gitlab.io/-/wfrp4-actor-sheet-print/-/jobs/$CI_JOB_ID/artifacts/dist/wfrp4e-actor-sheet-print.zip'
|
|
||||||
link_type: package
|
|
||||||
- name: 'manifest'
|
|
||||||
url: 'https://greenskin-foundryvtt.gitlab.io/-/wfrp4-actor-sheet-print/-/jobs/$CI_JOB_ID/artifacts/dist/module.json'
|
|
||||||
link_type: package
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
|
|||||||
10
module.json
10
module.json
@@ -2,7 +2,7 @@
|
|||||||
"name": "wfrp4e-actor-sheet-print",
|
"name": "wfrp4e-actor-sheet-print",
|
||||||
"title": "[WFRP4] Actor Sheet Print",
|
"title": "[WFRP4] Actor Sheet Print",
|
||||||
"description": "Functions to print actor sheet",
|
"description": "Functions to print actor sheet",
|
||||||
"version": "1.0.2",
|
"version": "${MODULE_VERSION}",
|
||||||
"minimumCoreVersion": "0.8.0",
|
"minimumCoreVersion": "0.8.0",
|
||||||
"compatibleCoreVersion": "0.8.9",
|
"compatibleCoreVersion": "0.8.9",
|
||||||
"author": "Skeroujvapluvit",
|
"author": "Skeroujvapluvit",
|
||||||
@@ -23,8 +23,8 @@
|
|||||||
],
|
],
|
||||||
"styles": ["./styles/main.css"],
|
"styles": ["./styles/main.css"],
|
||||||
"url": "https://github.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print",
|
"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",
|
"download": "https://gitlab.com/greenskin-foundryvtt/wfrp4-actor-sheet-print/-/releases/${MODULE_VERSION}/downloads/dist/wfrp4-actor-sheet-print.zip",
|
||||||
"manifest": "https://raw.githubusercontent.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print/dist/module.json",
|
"manifest": "https://gitlab.com/greenskin-foundryvtt/wfrp4-actor-sheet-print/-/releases/${MODULE_VERSION}/downloads/dist/module.json",
|
||||||
"readme": "https://raw.githubusercontent.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print/dist/README.md",
|
"readme": "https://gitlab.com/greenskin-foundryvtt/wfrp4-actor-sheet-print/-/raw/${MODULE_VERSION}/README.md",
|
||||||
"changelog": "https://raw.githubusercontent.com/mcailleaux/WFRP4-FoundryVTT-wfrp4e-actor-sheet-print/dist/CHANGELOG.md"
|
"changelog": "https://gitlab.com/greenskin-foundryvtt/wfrp4-actor-sheet-print/-/raw/${MODULE_VERSION}/CHANGELOG.md"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"package": "sh ./package.sh",
|
"package": "sh ./package.sh",
|
||||||
"build": "webpack"
|
"build": "webpack"
|
||||||
},
|
},
|
||||||
|
"version": "1.0.4",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@league-of-foundry-developers/foundry-vtt-types": "0.8.8-8",
|
"@league-of-foundry-developers/foundry-vtt-types": "0.8.8-8",
|
||||||
"husky": "4.3.7",
|
"husky": "4.3.7",
|
||||||
|
|||||||
Reference in New Issue
Block a user