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

ci: Fix pipeline release job.

Showing with 11 additions and 5 deletions
+11 -5
...@@ -310,13 +310,19 @@ tag-release: ...@@ -310,13 +310,19 @@ tag-release:
artifacts: true artifacts: true
- job: windows-package-exe - job: windows-package-exe
artifacts: true artifacts: true
- job: build-users-doc
artifacts: true
- job: build-developers-doc
artifacts: true
rules: rules:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
artifacts: artifacts:
paths: paths:
- linux/pamhyr-gnulinux.tar.xz - linux/pamhyr-gnulinux.tar.xz
- packages/pamhyr-windows.zip - windows/pamhyr-windows.zip
- packages/pamhyr-windows.exe - windows/pamhyr-windows.exe
- doc/dev/documentation.pdf
- doc/users/documentation.pdf
script: script:
- cd packages - cd packages
release: release:
...@@ -327,15 +333,15 @@ tag-release: ...@@ -327,15 +333,15 @@ tag-release:
assets: assets:
links: links:
- name: 'GNU/Linux (tar.xz)' - name: 'GNU/Linux (tar.xz)'
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-gnulinux.tar.xz' url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/linux/pamhyr-gnulinux.tar.xz'
filepath: '/linux/pamhyr-gnulinux.tar.xz' filepath: '/linux/pamhyr-gnulinux.tar.xz'
link_type: 'package' link_type: 'package'
- name: 'Windows (exe)' - name: 'Windows (exe)'
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-windows.exe' url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/windows/pamhyr-windows.exe'
filepath: '/windows/pamhyr-windows.exe' filepath: '/windows/pamhyr-windows.exe'
link_type: 'package' link_type: 'package'
- name: 'Windows (zip)' - name: 'Windows (zip)'
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-windows.zip' url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/windows/pamhyr-windows.zip'
filepath: '/windows/pamhyr-windows.zip' filepath: '/windows/pamhyr-windows.zip'
link_type: 'package' link_type: 'package'
- name: 'User documentations (pdf)' - name: 'User documentations (pdf)'
......
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