Martijn de Boer
0b6ae0fe38
All checks were successful
continuous-integration/drone/push Build is passing
29 lines
No EOL
563 B
YAML
29 lines
No EOL
563 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: lint
|
|
image: registry.gitlab.com/pipeline-components/luacheck:latest
|
|
commands:
|
|
- luacheck --std +love -g -u -t .
|
|
- name: build
|
|
image: bash
|
|
when:
|
|
event: tag
|
|
commands:
|
|
- apk update
|
|
- apk upgrade
|
|
- apk --no-cache add curl zip git
|
|
- chmod +x tools/build.sh
|
|
- bash tools/build.sh
|
|
- name: release
|
|
image: plugins/gitea-release
|
|
when:
|
|
event: tag
|
|
settings:
|
|
api_key:
|
|
from_secret: gitea_api
|
|
base_url: https://git.biggetje.net
|
|
files: release/*
|
|
prerelease: true |