Skip to content

Commit

Permalink
parent-pom-for-services
Browse files Browse the repository at this point in the history
  • Loading branch information
oplekal committed Jan 14, 2025
1 parent be7963c commit 2ec7a72
Show file tree
Hide file tree
Showing 3 changed files with 885 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ jobs:
distribution: 'corretto'

- name: Package
run: mvn clean package
run: |
mvn clean deploy
cd services-parent-pom
mvn clean deploy
- name: Publish snapshot
if: ${{ success() && github.ref_name != 'master' }}
run: mvn deploy --batch-mode -DskipTests
- name: Release
if: ${{ success() && github.ref_name == 'master' }}
run: |
mvn release:clean release:prepare release:perform -DignoreSnapshots=true
#- name: Publish snapshot
# if: ${{ success() && github.ref_name != 'master' }}
# run: mvn deploy --batch-mode -DskipTests
#- name: Release
# if: ${{ success() && github.ref_name == 'master' }}
# run: |
# mvn release:clean release:prepare release:perform -DignoreSnapshots=true
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fi.vm.sade.eperusteet</groupId>
<artifactId>eperusteet-backend-utils</artifactId>
<version>2.13-SNAPSHOT</version>
<version>2.14-SNAPSHOT</version>
<build>
<plugins>
<plugin>
Expand Down
Loading

0 comments on commit 2ec7a72

Please sign in to comment.