mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-04 02:42:26 +00:00
Check if release
This commit is contained in:
parent
3655b1a350
commit
23ef6b9c8c
32
.drone.yml
32
.drone.yml
@ -35,6 +35,31 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: Check If Release
|
||||||
|
|
||||||
|
# Limits how many of these builds can run on the drone runner at a time, this isn't about cores
|
||||||
|
concurrency:
|
||||||
|
limit: 1
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Init
|
||||||
|
image: akkadius/eqemu-server:v11
|
||||||
|
commands:
|
||||||
|
- if [ $(curl -s "https://api.github.com/repos/eqemu/server/tags" | jq -r '.[0].name' | sed 's/v//') = $(cat package.json | jq -r '.version') ]; then echo "Version tag is same as latest release exiting build"; exit 78; else echo "Local version different from remote, building..."; fi
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /home/eqemu/.ccache/
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- akkadius/build-test
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: Build Linux Binaries
|
name: Build Linux Binaries
|
||||||
@ -97,6 +122,9 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- Check If Release
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -139,6 +167,9 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- Check If Release
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -165,6 +196,7 @@ steps:
|
|||||||
rclone delete remote: --include "eqemu-server*.zip"
|
rclone delete remote: --include "eqemu-server*.zip"
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
|
- Check If Release
|
||||||
- Build Windows Binaries
|
- Build Windows Binaries
|
||||||
- Build Linux Binaries
|
- Build Linux Binaries
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user