BlueGit

golden-age appimage-tools

Files

appimage-tools / blue-ci-cd.yml

blue-ci-cd.yml

blue-ci-cd.yml 621 B Download Raw
1# Tag push: verify the pinned files, then publish them as release assets of
2# that tag (POST /repos/{project}/releases/{tag}/assets, create-only).
3stages: [verify, release]
4
5workflow:
6 rules:
7 - if: $CI_COMMIT_BRANCH == "master"
8 - if: $CI_COMMIT_TAG != ""
9
10verify:
11 stage: verify
12 image: bluegit/base
13 script:
14 - cd tools && sha256sum -c SHA256SUMS
15 artifacts:
16 paths: [tools/appimagetool-x86_64.AppImage, tools/runtime-x86_64, tools/SHA256SUMS]
17 expire_in: 2w
18
19release:
20 stage: release
21 image: bluegit/base
22 needs: [verify]
23 rules:
24 - if: $CI_COMMIT_TAG != ""
25 script:
26 - bash release.sh