drone-configs/fluffychat.yml

46 lines
744 B
YAML
Raw Normal View History

2021-08-11 15:58:29 +02:00
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
2021-08-15 20:50:42 +02:00
trigger:
ref:
exclude:
- refs/pipelines/**
- refs/merge-requests/**
2021-08-15 01:42:33 +02:00
2021-08-15 20:50:42 +02:00
steps:
2021-08-15 01:42:33 +02:00
- name: build
2021-08-15 20:50:42 +02:00
image: garionion/archlinux-flutter
2021-08-15 01:42:33 +02:00
commands:
2021-08-14 23:07:37 +02:00
- sh scripts/build-linux.sh
2021-08-15 01:42:33 +02:00
- name: bundle
image: archlinux:base-devel
commands:
- tar -a -v --zstd -cf fluffychat-linux-x86.tar.zst -C build/linux/x64/release/bundle/ .
when:
ref:
2021-10-08 22:01:39 +02:00
- refs/tags/*
2021-08-11 15:58:29 +02:00
2021-08-14 23:07:37 +02:00
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.entr0py.de
api_key:
from_secret: gitea_token
files:
2021-08-15 01:42:33 +02:00
- fluffychat-linux-x86.tar.zst
#note: CHANGELOG.md
2021-08-14 23:07:37 +02:00
checksum:
- md5
- sha256
2021-08-15 01:42:33 +02:00
when:
ref:
2021-10-08 22:01:39 +02:00
- refs/tags/*
2021-08-11 15:58:29 +02:00
...