Skip to content
Snippets Groups Projects
Commit 440eb9cd authored by Johannes Marbach's avatar Johannes Marbach Committed by Johannes Marbach
Browse files

Remove CI yaml

parent 8e3e2ce6
No related branches found
No related tags found
No related merge requests found
stages:
- prepare_release
- release
prepare:release:
stage: prepare_release
image: python:latest
rules:
- if: $CI_COMMIT_TAG
before_script:
- pip install git-archive-all
script:
- git-archive-all unl0kr.tar.gz
after_script:
- echo "JOB_ID=$CI_JOB_ID" >> job.env
artifacts:
paths:
- unl0kr.tar.gz
expire_in: never
reports:
dotenv: job.env
create:release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG
needs:
- job: prepare:release
artifacts: true
variables:
TAG: '$CI_COMMIT_SHA'
script:
- echo "do it"
release:
name: 'Release $TAG'
tag_name: '$TAG'
ref: '$TAG'
description: 'Release $TAG'
assets:
links:
- name: "unl0kr.tar.gz"
url: "https://gitlab.com/cherrypicker/unl0kr/-/jobs/$JOB_ID/artifacts/file/unl0kr.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment