mirror of
https://github.com/maubot/rss.git
synced 2024-10-01 08:25:36 -04:00
28 lines
462 B
YAML
28 lines
462 B
YAML
image: dock.mau.dev/maubot/maubot
|
|
|
|
stages:
|
|
- build
|
|
|
|
variables:
|
|
PYTHONPATH: /opt/maubot
|
|
|
|
build:
|
|
stage: build
|
|
except:
|
|
- tags
|
|
script:
|
|
- python3 -m maubot.cli build -o xyz.maubot.$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA.mbp
|
|
artifacts:
|
|
paths:
|
|
- "*.mbp"
|
|
|
|
build tags:
|
|
stage: build
|
|
only:
|
|
- tags
|
|
script:
|
|
- python3 -m maubot.cli build -o xyz.maubot.$CI_PROJECT_NAME-$CI_COMMIT_TAG.mbp
|
|
artifacts:
|
|
paths:
|
|
- "*.mbp"
|