1
0

feat(ci): rename unstable desktop packages

This commit is contained in:
kolaente 2024-02-11 17:02:37 +01:00
parent 1255bdc4ab
commit 45c97a456d
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -1200,7 +1200,20 @@ steps:
# depends_on: # depends_on:
# - build # - build
- name: release-latest - name: rename-unstable
image: apline
pull: true
commands:
- cd desktop/dist
- for file in Vikunja*; do suffix=".${file##*.}"; if [[ ! -d $file ]]; then mv "$file" "Vikunja-Desktop-unstable${suffix}"; fi; done
depends_on:
- build
when:
event:
exclude:
- tag
- name: release-unstable
image: plugins/s3 image: plugins/s3
pull: true pull: true
settings: settings:
@ -1213,13 +1226,14 @@ steps:
region: fr-par region: fr-par
path_style: true path_style: true
strip_prefix: desktop/dist/ strip_prefix: desktop/dist/
source: desktop/dist/* source: desktop/dist/Vikunja-Desktop*
target: /desktop/unstable/ target: /desktop/unstable/
when: when:
event: event:
exclude: exclude:
- tag - tag
depends_on: [ build ] depends_on:
- rename-unstable
- name: release-version - name: release-version
image: plugins/s3 image: plugins/s3
@ -1360,6 +1374,6 @@ steps:
- failure - failure
--- ---
kind: signature kind: signature
hmac: 128214182f90834702da16ed7b0f1dec09dc61bbbe7f293aea7cb6c46e7edae2 hmac: 90827e8c19d58f370a55c1ba17d188461e3aa1fe1b27cce52fa58925227894de
... ...