diff --git a/.github/workflows/push_trigger.yml b/.github/workflows/push_trigger.yml
index 57ec6ef8bd..2895044be1 100644
--- a/.github/workflows/push_trigger.yml
+++ b/.github/workflows/push_trigger.yml
@@ -3,6 +3,8 @@ name: Maven Package upon a push
on:
push:
branches:
+ - '!release-branch'
+ - release-1*
- master
- 1.*
- develop
@@ -69,6 +71,7 @@ jobs:
publish_to_nexus:
+ if: "!contains(github.ref, 'master')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -112,7 +115,7 @@ jobs:
- name: Publish the maven package
run: |
- cd biometrics-util && mvn deploy -DskipTests -DaltDeploymentRepository=ossrh::default::${{ secrets.OSSRH_SNAPSHOT_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
+ cd biometrics-util && mvn deploy -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GPG_TTY: $(tty)
diff --git a/.github/workflows/release_changes.yml b/.github/workflows/release_changes.yml
index 21b68e6357..43366ac9d7 100644
--- a/.github/workflows/release_changes.yml
+++ b/.github/workflows/release_changes.yml
@@ -35,9 +35,19 @@ jobs:
cd .github/workflows
sed -i 's/OSSRH_SNAPSHOT_URL/RELEASE_URL/g' push_trigger.yml
+# - name: Updating libs-snapshot-local to libs-release local for artifactory URL's.
+# run: find . -type f -name "*Dockerfile" -print0 | xargs -0 sed -i "s/libs-snapshot-local/libs-release-local/g"
+
+ - name: removing -DskipTests
+ run: find . -type f -name "*push_trigger.yml" -print0 | xargs -0 sed -i "s/"-DskipTests"//g"
+
+# - name: removing --Dgpg.skip
+# run: find . -type f -name "*push_trigger.yml" -print0 | xargs -0 sed -i "s/"-Dgpg.skip"//g"
+
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
+ token: ${{ secrets.ACTION_PAT }}
commit-message: Updated Pom versions for release changes
title: Release changes
body: Automated PR for ${{ github.event.inputs.releaseTags }} release.
diff --git a/README.md b/README.md
index b8e2041c4d..16b4a058be 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[](https://github.com/mosip/bio-utils/actions/workflows/push_trigger.yml)
+ [](https://sonarcloud.io/dashboard?id=mosip_biometrics-util)
# Bio Utils
## Overview
diff --git a/biometrics-util/pom.xml b/biometrics-util/pom.xml
index ab216c68fc..ee59bc960a 100644
--- a/biometrics-util/pom.xml
+++ b/biometrics-util/pom.xml
@@ -5,7 +5,7 @@
io.mosip.biometric.util
biometrics-util
- 0.0.1-SNAPSHOT
+ 1.2.0
biometrics-util
http://maven.apache.org
This utility is used to convert ISO to Image and Image to ISO
@@ -19,7 +19,7 @@
org.springframework.boot
spring-boot-starter-web
- 2.0.2.RELEASE
+ 2.5.12
compile
diff --git a/test/pom.xml b/test/pom.xml
index 10f4dce9a9..31fe0f2ded 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -11,14 +11,14 @@
io.mosip.bio.utils
bioutils
jar
- 0.0.1-SNAPSHOT
+ 1.2.0
bioutils
http://maven.apache.org
io.mosip.biometric.util
biometrics-util
- 0.0.1-SNAPSHOT
+ 1.2.0