Merge branch 'fix_windows' into 'main'

fix release upload for windows maybe?

See merge request famedly/fluffychat!471
This commit is contained in:
Krille Fear 2021-08-05 07:50:14 +00:00
commit 8ab5d18a12

View File

@ -233,8 +233,10 @@ upload-linux-arm64:
upload-windows: upload-windows:
extends: .release extends: .release
image: alpine:latest
script: script:
- pushd build/windows/runner/Release; zip -r ../../../../package.zip . ; popd - apk add --no-cache curl zip
- cd build/windows/runner/Release; zip -r ../../../../package.zip . ; cd -
- | - |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.zip ${PACKAGE_REGISTRY_URL}/fluffychat-windows.zip curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.zip ${PACKAGE_REGISTRY_URL}/fluffychat-windows.zip