chore: add gitea-release task
This commit is contained in:
parent
593df92200
commit
e0b966eb55
|
@ -2,3 +2,5 @@
|
|||
/dist
|
||||
/.env
|
||||
/tools
|
||||
.mktools/
|
||||
/.gitea-release
|
34
Makefile
34
Makefile
|
@ -5,6 +5,9 @@ GITCHLOG_ARGS ?=
|
|||
SHELL := /bin/bash
|
||||
JDK_PATH ?= /usr/lib/jvm/java-11-openjdk
|
||||
|
||||
MKT_GITEA_RELEASE_PROJECT := arcast
|
||||
MKT_GITEA_RELEASE_ORG := arcad
|
||||
|
||||
GOTEST_ARGS ?= -short
|
||||
|
||||
watch: tools/modd/bin/modd deps ## Watching updated files - live reload
|
||||
|
@ -58,3 +61,34 @@ tools/modd/bin/modd:
|
|||
tools/gogio/bin/gogio:
|
||||
mkdir -p tools/gogio/bin
|
||||
GOBIN=$(PWD)/tools/gogio/bin go install gioui.org/cmd/gogio@latest
|
||||
|
||||
gitea-release: .mktools build
|
||||
rm -rf .gitea-release
|
||||
mkdir -p .gitea-release
|
||||
|
||||
cp ./bin/desktop .gitea-release/arcad_player_linux_amd64
|
||||
cp ./bin/client .gitea-release/arcad_client_linux_amd64
|
||||
cp ./android/app/build/outputs/apk/debug/app-debug.apk .gitea-release/arcast_player_debug.apk
|
||||
|
||||
MKT_GITEA_RELEASE_PROJECT="arcast" \
|
||||
MKT_GITEA_RELEASE_ORG="arcad" \
|
||||
MKT_GITEA_RELEASE_BASE_URL="https://forge.cadoles.com" \
|
||||
MKT_GITEA_RELEASE_VERSION="$(MKT_PROJECT_VERSION)" \
|
||||
MKT_GITEA_RELEASE_NAME="$(MKT_PROJECT_VERSION)" \
|
||||
MKT_GITEA_RELEASE_COMMITISH_TARGET="$$(git rev-parse HEAD)" \
|
||||
MKT_GITEA_RELEASE_IS_DRAFT="false" \
|
||||
MKT_GITEA_RELEASE_IS_PRERELEASE="false" \
|
||||
MKT_GITEA_RELEASE_BODY="" \
|
||||
MKT_GITEA_RELEASE_ATTACHMENTS="$$(find .gitea-release/* -type f)" \
|
||||
$(MAKE) mkt-gitea-release
|
||||
|
||||
|
||||
.PHONY: mktools
|
||||
mktools:
|
||||
rm -rf .mktools
|
||||
curl -q https://forge.cadoles.com/Cadoles/mktools/raw/branch/master/install.sh | $(SHELL)
|
||||
|
||||
.mktools:
|
||||
$(MAKE) mktools
|
||||
|
||||
-include .mktools/*.mk
|
|
@ -12,7 +12,7 @@ Le client en ligne de commande vous permet de contrôler votre flotte de serveur
|
|||
|
||||
#### Dernière version
|
||||
|
||||
- Linux: [`amd64`](https://forge.cadoles.com/arcad/arcast/releases/download/latest/arcast_client_linux_amd64)
|
||||
- Linux: [`amd64`](https://forge.cadoles.com/arcad/arcast/releases/download/latest/arcad_client_linux_amd64)
|
||||
|
||||
### Application Android
|
||||
|
||||
|
@ -32,4 +32,4 @@ Avoir [Chromium](https://www.chromium.org/chromium-projects/) (ou `Google Chrome
|
|||
|
||||
#### Dernière version
|
||||
|
||||
- Linux: [`amd64`](https://forge.cadoles.com/arcad/arcast/releases/download/latest/arcast_player_linux_amd64)
|
||||
- Linux: [`amd64`]https://forge.cadoles.com/arcad/arcast/releases/download/latest/arcad_player_linux_amd64)
|
Loading…
Reference in New Issue