split release job into two

Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2024-02-21 11:03:45 -08:00
parent a09d905598
commit 13219e1d5f
5 changed files with 13 additions and 3 deletions

View file

@ -33,7 +33,6 @@ userlib-tests:
prepare-release: prepare-release:
stage: release stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
script: script:
- cargo build -F implicit-load --release - cargo build -F implicit-load --release
- | - |
@ -53,6 +52,19 @@ prepare-release:
artifacts: artifacts:
paths: paths:
- flesh-$CI_COMMIT_TAG.tar.gz - flesh-$CI_COMMIT_TAG.tar.gz
- VERSION
- ID
rules:
- if: '$CI_COMMIT_TAG =~ "/^v\d+.\d+.\d+/"'
create-release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
needs:
- job: prepare-release
artifacts: true
script:
- echo "running job for release!"
rules: rules:
- if: '$CI_COMMIT_TAG =~ "/^v\d+.\d+.\d+/"' - if: '$CI_COMMIT_TAG =~ "/^v\d+.\d+.\d+/"'
release: release:

View file

@ -166,9 +166,7 @@ Note: this section only tracks the state of incomplete TODO items. Having everyt
- Can pass args to flesh scripts (via command line) - Can pass args to flesh scripts (via command line)
- Can pass args to flesh scripts (via interpreter) - Can pass args to flesh scripts (via interpreter)
- declare macros - declare macros
- Release CI
- Make an icon if you feel like it - Make an icon if you feel like it
- Post release to relevant channels
** TODO v1.1 tasks ** TODO v1.1 tasks
- all autocomplete is done via configurable userfunction, default documented with 1:1 functionality - all autocomplete is done via configurable userfunction, default documented with 1:1 functionality
- Pipe also operates on stderr - Pipe also operates on stderr