Commit a862bd9b authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

ci: Fix ci yml error.

No related merge requests found
Pipeline #55571 failed with stages
in 0 seconds
Showing with 32 additions and 6 deletions
+32 -6
stages:
- build
- lightening
- scratching
- lightening
- archive
- release
......@@ -23,11 +23,11 @@ scratching:
stage: scratching
tags:
- linux
script:
- echo OK
needs:
- job: build
artifacts: true
script:
- echo OK
artifacts:
paths:
- dist/
......@@ -37,11 +37,11 @@ lightening:
stage: lightening
tags:
- linux
script:
- echo OK
needs:
- job: scratching
artifacts: true
script:
- echo OK
artifacts:
paths:
- dist/
......@@ -50,12 +50,38 @@ archive:
stage: archive
tags:
- linux
needs:
- job: lightening
artifacts: true
script:
- mv dist python
- tar cf python.tar.xz python/
artifacts:
paths:
- python.tar.xz
tag-release:
stage: release
tags:
- linux
needs:
- job: lightening
- job: archive
artifacts: true
rules:
- if: $CI_COMMIT_TAG
artifacts:
paths:
- python.tar.xz
script:
- echo OK
release:
name: '$CI_COMMIT_TAG'
description: '$CI_COMMIT_TAG_MESSAGE'
tag_name: '$CI_COMMIT_TAG'
ref: '$CI_COMMIT_SHA'
assets:
links:
- name: 'Python GNU/Linux (tar.xz)'
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/linux/python.tar.xz'
filepath: '/linux/python.tar.xz'
link_type: 'package'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment