Possible fix for CI releases

main 0.1.0-rc1
Jef Roosens 2022-02-01 00:08:23 +01:00
parent 5bff3a6514
commit 7e1fb347ee
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 2 additions and 3 deletions

View File

@ -31,4 +31,3 @@ pipeline:
- CI_COMMIT_SHA
when:
event: tag
branch: main

View File

@ -14,7 +14,7 @@ pipeline:
secrets: [ s3_username, s3_password ]
commands:
- mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD"
- mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" assets
- mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" .
when:
event: tag
@ -24,7 +24,7 @@ pipeline:
- gitea_release_api_key
settings:
base_url: https://git.rustybever.be
files: assets/*
files: ${CI_COMMIT_SHA}/*
checksums:
- md5
- sha256