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