# Tag push: verify the pinned files, then publish them as release assets of # that tag (POST /repos/{project}/releases/{tag}/assets, create-only). stages: [verify, release] workflow: rules: - if: $CI_COMMIT_BRANCH == "master" - if: $CI_COMMIT_TAG != "" verify: stage: verify image: bluegit/base script: - cd tools && sha256sum -c SHA256SUMS artifacts: paths: [tools/appimagetool-x86_64.AppImage, tools/runtime-x86_64, tools/SHA256SUMS] expire_in: 2w release: stage: release image: bluegit/base needs: [verify] rules: - if: $CI_COMMIT_TAG != "" script: - bash release.sh