Skip to content

Commit

Permalink
UHM-6817 - Fix to update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
mseaton committed Feb 12, 2025
1 parent 6f8acb2 commit 1a8d2ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
- name: Update dependencies
run: |
mvn clean versions:update-properties
mvn org.pih.maven.plugin:pih-maven-plugin:1.5.0:dependency-report -Dexcludes=org.openmrs.module:pihcore-api -U
mvn clean versions:update-properties -U
mvn org.pih.maven.plugin:pih-maven-plugin:1.5.0:dependency-report -Dexcludes=org.openmrs.module:pihcore-api
if [ `git status --porcelain=1 | wc -l` -ne 0 ]; then
echo "Dependency changes detected"
git status
mvn scm:add -Dincludes=**/dependencies.txt
mvn scm:checkin -Dmessage='automatic update of mvn version dependencies' -U
mvn scm:checkin -Dmessage='automatic update of mvn version dependencies'
mvn -B deploy --file pom.xml
else
echo "No Dependency changes detected"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
- name: Update dependencies
run: |
mvn clean versions:update-properties
mvn org.pih.maven.plugin:pih-maven-plugin:1.5.0:dependency-report -Dexcludes=org.openmrs.module:pihcore-api -U
mvn clean versions:update-properties -U
mvn org.pih.maven.plugin:pih-maven-plugin:1.5.0:dependency-report -Dexcludes=org.openmrs.module:pihcore-api
if [ `git status --porcelain=1 | wc -l` -ne 0 ]; then
echo "Dependency changes detected"
git status
mvn scm:add -Dincludes=**/dependencies.txt
mvn scm:checkin -Dmessage='automatic update of mvn version dependencies' -U
mvn scm:checkin -Dmessage='automatic update of mvn version dependencies'
else
echo "No Dependency changes detected"
fi
Expand Down

0 comments on commit 1a8d2ed

Please sign in to comment.