Update .gitlab-ci.yml file

This commit is contained in:
Slava
2023-08-26 20:09:23 +00:00
parent 2f287b699a
commit d299ac904b

View File

@@ -22,18 +22,18 @@ default:
- apk add zip
stages: # List of stages for jobs, and their order of execution
- test
- release
test-job: # This job runs in the deploy stage.
stage: test # It only runs when *both* jobs in the test stage complete successfully.
environment: production
script:
- echo "Prepare to remove git "
- uname -a
- rm -rf .git
- zip -r WPE2.zip *
release:
name: '$CI_COMMIT_SHORT_SHA'
description: '$CI_COMMIT_MESSAGE'
release_job:
stage: release # It only runs when *both* jobs in the test stage complete successfully.
script:
- echo "Prepare to remove git "
- uname -a
- rm -rf .git
- zip -r WPE2.zip *
release:
tag_name: $CI_COMMIT_TAG
name: 'WPE 2.0_$CI_COMMIT_SHORT_SHA'
description: '$CI_COMMIT_MESSAGE'