fix(ci): correctly set shell for rename command
continuous-integration/drone/push Build is passing Details

It looks like Drone executes all commands with sh, even if the default shell of the container is something else. Because sh does not have support for whitespaces in string extrapolation, the rename command would fail. This change always specifies bash as the shell.
This commit is contained in:
kolaente 2024-02-12 17:37:20 +01:00
parent 390f71b0c6
commit 28ed754c66
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -1220,7 +1220,7 @@ steps:
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
- bash -c 'for file in Vikunja*; do suffix=".${file##*.}"; if [[ ! -d $file ]]; then mv "$file" "Vikunja-Desktop-unstable${suffix}"; fi; done'
depends_on:
- build
when:
@ -1389,6 +1389,6 @@ steps:
- failure
---
kind: signature
hmac: 701e3ef16ca217178380a0aacb14601828d9c0d43a7c3cc5033ccd3288927850
hmac: 2a04bdccf78b768db5ca89bf2bfa472ade15d8499b976b47deb52d93400b38a2
...