12 Commits
1.0.2 ... 1.0.3

Author SHA1 Message Date
Gitlab CI
9594df4f3e chore: Release 1.0.3 2021-12-26 19:26:57 +00:00
Matthieu CAILLEAUX
8a66695365 chore: test release 2021-12-26 20:23:00 +01:00
Matthieu CAILLEAUX
51c5050e35 chore: test release 2021-12-26 20:11:08 +01:00
Matthieu CAILLEAUX
55d9cde049 chore: test release 2021-12-26 20:02:18 +01:00
Matthieu CAILLEAUX
c76b8cca61 chore: test release 2021-12-26 20:01:49 +01:00
Matthieu CAILLEAUX
9fa08fc14b chore: test release 2021-12-25 10:23:44 +01:00
Matthieu CAILLEAUX
70c4f1a158 chore: test release 2021-12-25 10:09:34 +01:00
Matthieu CAILLEAUX
ac8e04cf1b chore: test release 2021-12-25 09:44:11 +01:00
Matthieu CAILLEAUX
a720449003 chore: test release 2021-12-25 09:38:24 +01:00
Matthieu CAILLEAUX
46840cb81e chore: test release 2021-12-25 09:30:00 +01:00
Matthieu CAILLEAUX
f0993952e6 chore: variabilize build 2021-12-25 09:20:30 +01:00
Matthieu CAILLEAUX
51aaa4268a chore: variabilize build 2021-12-25 09:13:15 +01:00
2 changed files with 78 additions and 59 deletions

View File

@@ -1,62 +1,80 @@
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'
- project: '$CI_PROJECT_ROOT_NAMESPACE/ci-tools/pipeline/ci-tools-pipeline-release-node'
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
file: '/pipeline-foundry-module.yml'
build: #image: node:14.15.5-stretch-slim
stage: build #
before_script: #variables:
- apt update # GIT_DEPTH: 0
- apt install -y zip # GIT_STRATEGY: fetch
script: #
- npm ci #stages:
- npm run build # - build
- mkdir -p dist/lang # - release
- mkdir -p dist/styles #
- cp lang/* dist/lang/ #build:
- cp styles/* dist/styles/ # stage: build
- cp module.json dist # image: $CI_REGISTRY/$CI_PROJECT_ROOT_NAMESPACE/ci-tools/docker/ci-tools-docker-node-14:1.0.0
- cd dist # variables:
- zip wfrp4e-actor-sheet-print.zip -r *.* elements lang styles -x ".*" # MODULE_DIRS: lang styles
artifacts: # MODULE_ZIP_DIRS: elements lang styles
name: wfrp4e-actor-sheet-print # extends: .build
when: on_success #
paths: #.build:
- dist/wfrp4e-actor-sheet-print.zip # stage: build
- dist/module.json # image: $CI_REGISTRY/$CI_PROJECT_ROOT_NAMESPACE/ci-tools/docker/ci-tools-docker-node-14:1.0.0
expire_in: 1 day # before_script:
only: # - npm ci
- tags # - npm run build
- master # script:
# - cp -r $MODULE_DIRS dist/
release: # - cp module.json dist
stage: release # - cd dist
image: registry.gitlab.com/gitlab-org/release-cli:latest # - zip $CI_PROJECT_NAME.zip -r *.* $MODULE_ZIP_DIRS -x ".*"
script: # - echo ARTIFACT_LOC="${CI_JOB_URL}/artifacts/raw" > $CI_PROJECT_DIR/variables.env
- echo 'Running the release job.' # artifacts:
artifacts: # name: $CI_COMMIT_REF_NAME
name: wfrp4e-actor-sheet-print # when: on_success
when: on_success # reports:
paths: # dotenv: variables.env
- dist/wfrp4e-actor-sheet-print.zip # paths:
- dist/module.json # - dist/$CI_PROJECT_NAME.zip
expire_in: never # - dist/module.json
release: # expire_in: never
tag_name: $CI_COMMIT_TAG # only:
name: 'Release $CI_COMMIT_TAG' # - tags
description: './CHANGELOG.md' # - master
assets: # - main
links: #
- name: 'module' #release:
url: 'https://greenskin-foundryvtt.gitlab.io/-/wfrp4-actor-sheet-print/-/jobs/$CI_JOB_ID/artifacts/dist/wfrp4e-actor-sheet-print.zip' # stage: release
link_type: package # image: registry.gitlab.com/gitlab-org/release-cli:latest
- name: 'manifest' # script:
url: 'https://greenskin-foundryvtt.gitlab.io/-/wfrp4-actor-sheet-print/-/jobs/$CI_JOB_ID/artifacts/dist/module.json' # - echo 'Running the release job.'
link_type: package # release:
only: # tag_name: $CI_COMMIT_TAG
- tags # 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

View File

@@ -4,6 +4,7 @@
"package": "sh ./package.sh", "package": "sh ./package.sh",
"build": "webpack" "build": "webpack"
}, },
"version": "1.0.3",
"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",