File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 12
12
with :
13
13
java-version : 1.8
14
14
- name : Build
15
- run : mvn -B package --file pom.xml
15
+ run : mvn -B -DnewVersion=${{ github.event.release.tag_name }} package --file pom.xml
16
16
- name : Deploy to JavaWebStack Repository
17
17
run : mvn deploy -DnewVersion=${{ github.event.release.tag_name }} -s build/settings.xml
18
18
env :
Original file line number Diff line number Diff line change 10
10
with :
11
11
java-version : 1.8
12
12
- name : Build
13
- run : mvn -B package --file pom.xml
13
+ run : mvn -DnewVersion=1.0-SNAPSHOT - B package --file pom.xml
14
14
- name : Deploy to JavaWebStack Repository
15
- run : mvn deploy -s build/settings.xml
15
+ run : mvn deploy -DnewVersion=1.0-SNAPSHOT - s build/settings.xml
16
16
env :
17
17
DEPLOYMENT_USERNAME : ${{ secrets.DEPLOYMENT_USERNAME }}
18
- DEPLOYMENT_PASSWORD : ${{ secrets.DEPLOYMENT_PASSWORD }}
18
+ DEPLOYMENT_PASSWORD : ${{ secrets.DEPLOYMENT_PASSWORD }}
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >org.javawebstack</groupId >
8
8
<artifactId >Web-Framework</artifactId >
9
- <version >1.0-SNAPSHOT </version >
9
+ <version >${project.DnewVersion} </version >
10
10
11
11
<repositories >
12
12
<repository >
You can’t perform that action at this time.
0 commit comments