diff options
Diffstat (limited to 'ci')
-rw-r--r-- | ci/build_project.yml | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/ci/build_project.yml b/ci/build_project.yml index c077c4e..2ff7117 100644 --- a/ci/build_project.yml +++ b/ci/build_project.yml @@ -11,6 +11,7 @@ workflow: stages: - build - distcheck + - release translations: extends: .translation @@ -26,10 +27,21 @@ build: - make distcheck: - extends: .make + extends: .distcheck stage: distcheck - script: - - make distcheck + rules: + - if: $CI_COMMIT_TAG + when: never + +release: + extends: .distcheck + stage: release + artifacts: + paths: + - ./*.tar.bz2 + expire_in: never + rules: + - if: $CI_COMMIT_TAG .make: before_script: @@ -47,6 +59,11 @@ distcheck: # Otherwise, always run - when: always +.distcheck: + extends: .make + script: + - make distcheck + .translation: rules: # If there are changes to .po, run this job |