Added .deb and .rpm package build step

This commit is contained in:
Gregory Ballantine
2022-07-17 13:32:58 -04:00
parent 8c36855593
commit dad3e6c1cf
7 changed files with 266 additions and 78 deletions

View File

@@ -10,6 +10,14 @@ pipeline:
commands:
- mvn clean compile assembly:single
package:
image: maven:3-jdk-11
commands:
- apt update && apt install -y rpm
- mvn clean compile package
when:
event: tag
gitea_release:
image: plugins/gitea-release
settings:
@@ -18,6 +26,8 @@ pipeline:
base_url: https://git.metaunix.net
title: "${CI_COMMIT_TAG}"
files:
- target/Dragoon-*.jar
- target/dragoon-*.jar
- target/dragoon-*.deb
- target/rpm/dragoon/RPMS/noarch/dragoon-*.rpm
when:
event: tag