Skip to content

Commit 8400366

Browse files
committed
build: add default version in revision property
1 parent 72d3b1c commit 8400366

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
with:
4848
distribution: 'adopt'
4949
java-version: '11'
50+
51+
- name: Check Maven version
52+
run: mvn -version
5053

5154
- name: Update Version in pom.xml
5255
run: mvn -B versions:set -DnewVersion=${{ github.event.inputs.packageVersion }} -DgenerateBackupPoms=false

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
</distributionManagement>
6363

6464
<properties>
65+
<revision>1.0.0</revision>
6566
<maven.test.skip>true</maven.test.skip>
6667
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6768
</properties>

0 commit comments

Comments
 (0)