Added .deb and .rpm package build step
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user