Skip to content
Snippets Groups Projects
Commit 6f3bb0e6 authored by Philipp Stadler's avatar Philipp Stadler
Browse files

chore: rename publish to release

parent 296f892c
Branches
Tags
1 merge request!7chore: automatically create gitlab releases in CI
......@@ -3,8 +3,8 @@ image: durcheinander/sinologie-anki-pack-build:latest
stages:
- lint
- build
- prepare-publish
- publish
- prepare-release
- release
default:
cache:
......@@ -32,8 +32,8 @@ build-release:
# (sinologie-anki-pack-*.zip would release just the zip)
- sinologie-anki-pack-*
publish-package-json-version-as-git-tag:
stage: publish
release-package-json-version-as-git-tag:
stage: release
only:
refs:
- main
......@@ -55,7 +55,7 @@ publish-package-json-version-as-git-tag:
# prepares the release notes and other stuff for the actual release
prepare-gitlab-release:
stage: prepare-publish
stage: prepare-release
rules:
# run when a tag is created, either by the job above or manually by a user (to create releases from older commits)
- if: $CI_COMMIT_TAG
......@@ -78,7 +78,7 @@ prepare-gitlab-release:
dotenv: release.env
create-gitlab-release:
stage: publish
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment