maubot-ntfy/.gitlab-ci.yml

19 lines
370 B
YAML
Raw Normal View History

2023-01-08 14:09:05 +00:00
stages:
- build
build:
image: dock.mau.dev/maubot/maubot:latest
stage: build
script:
2023-01-08 14:15:14 +00:00
- |
if [ -n "$CI_COMMIT_TAG" ]; then
VERSION="$CI_COMMMIT_TAG"
else
VERSION="$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA"
fi
- mbc build -o cloud.catgirl.ntfy-$VERSION.mbp
2023-01-08 14:09:05 +00:00
artifacts:
paths:
- "*.mbp"
expire_in: "1 month"