From e4145eefe8a1e1183e4753d46497b3aa62fb339b Mon Sep 17 00:00:00 2001 From: Max Nullov Date: Sun, 23 Feb 2025 15:12:34 +0300 Subject: [PATCH] i cant verify myself in russia :( --- .gitlab-ci.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 6424108..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,35 +0,0 @@ -stages: - - prepare - - release - -prepare_job: - stage: prepare - image: alpine:latest - rules: - - if: '$CI_COMMIT_TAG =~ /^v?\d+\.\d+\.\d+$/' - script: - - apk add curl jq - - 'curl -H "PRIVATE-TOKEN: $CI_API_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/repository/changelog?version=$CI_COMMIT_TAG" | jq -r .notes > release_notes.md' - artifacts: - paths: - - release_notes.md - -release_job: - stage: release - image: registry.gitlab.com/gitlab-org/release-cli:latest - needs: - - job: prepare_job - artifacts: true - rules: - - if: '$CI_COMMIT_TAG =~ /^v?\d+\.\d+\.\d+$/' - script: - - echo "Creating release" - release: - name: 'Release $CI_COMMIT_TAG' - description: release_notes.md - tag_name: '$CI_COMMIT_TAG' - ref: '$CI_COMMIT_SHA' - assets: - links: - - name: 'Container Image $CI_COMMIT_TAG' - url: "https://$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA" \ No newline at end of file