From 314d5ba8c4fbb981e08feb2371a8431a2900a3e0 Mon Sep 17 00:00:00 2001 From: cristianciutea Date: Wed, 8 Sep 2021 11:37:02 +0200 Subject: [PATCH] ci: fixed pkg version --- Makefile | 2 ++ pom.xml | 2 +- src/deb/control/control | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fe251b2c..0981f712 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ DOCKER_CMD ?= $(DOCKER_BIN) run --rm -t \ -e GPG_PASSPHRASE \ -e GPG_PRIVATE_KEY_BASE64 \ nrjmx_builder +TAG ?= v0.0.0 .PHONY : deps deps: @@ -23,6 +24,7 @@ build: .PHONY : package package: + @($(MAVEN_BIN) versions:set -DnewVersion=\$(subst v,,$(TAG))) @($(MAVEN_BIN) clean -DskipTests package) .PHONY : test diff --git a/pom.xml b/pom.xml index 9f6fd986..3e3e16ba 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 nrjmx nrjmx - 1.4.2 + 1.2.3 nrjmx The New Relic JMX tool provides a command line tool to connect to a JMX server and retrieve the MBeans it exposes. diff --git a/src/deb/control/control b/src/deb/control/control index 4243b63d..2ac525c0 100644 --- a/src/deb/control/control +++ b/src/deb/control/control @@ -2,6 +2,6 @@ Package: [[name]] Version: [[version]] Section: misc Priority: low -Architecture: all +Architecture: -1_amd64 Maintainer: New Relic Infrastructure Team Description:New Relic JMX tool. [[description]]