]> git.proxmox.com Git - mirror_linux-firmware.git/blame - .gitlab-ci.yml
Merge branch 'sc8280xp-audio-fw-fixes' into 'main'
[mirror_linux-firmware.git] / .gitlab-ci.yml
CommitLineData
69e68cde 1check-commits:
b2f03c84 2 stage: test
69e68cde 3 image: registry.gitlab.com/kernel-firmware/linux-firmware
d5c485f9
ML
4 rules:
5 - if: $CI_MERGE_REQUEST_ID
69e68cde
ML
6 script:
7 - ci-fairy check-commits --signed-off-by
8
9pre-commit:
b2f03c84 10 stage: test
69e68cde
ML
11 image: registry.gitlab.com/kernel-firmware/linux-firmware
12 script:
13 - pre-commit run --all-files
14
b2f03c84
ML
15release:
16 stage: deploy
17 rules:
18 - if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
19 when: never
20 - if: $RELEASE_TOKEN
f12059b7
ML
21 artifacts:
22 paths:
23 - dist/*
b2f03c84
ML
24 script:
25 - CI_PUSH_REPO=`echo "$CI_REPOSITORY_URL" | sed 's/^.*@/@/g'`
26 - git remote set-url --push origin "https://gitlab-ci-token:${RELEASE_TOKEN}$CI_PUSH_REPO"
27 - git tag `date "+%Y%m%d"`
28 - git push --tags
f12059b7 29 - make dist