chore: test release
This commit is contained in:
@@ -6,6 +6,7 @@ variables:
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- release
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -25,11 +26,28 @@ build:
|
|||||||
artifacts:
|
artifacts:
|
||||||
name: wfrp4e-actor-sheet-print
|
name: wfrp4e-actor-sheet-print
|
||||||
when: on_success
|
when: on_success
|
||||||
expose_as: '$CI_COMMIT_BRANCH'
|
|
||||||
paths:
|
paths:
|
||||||
- dist/wfrp4e-actor-sheet-print.zip
|
- dist/wfrp4e-actor-sheet-print.zip
|
||||||
|
- dist/module.json
|
||||||
expire_in: never
|
expire_in: never
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
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: 'content'
|
||||||
|
url: './dist/wfrp4e-actor-sheet-print.zip'
|
||||||
|
- name: 'manifest'
|
||||||
|
url: './dist/module.json'
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
|||||||
Reference in New Issue
Block a user