Skip to content

Commit 67019ad

Browse files
committed
Update prepare.yml
1 parent e4d17a9 commit 67019ad

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Diff for: .github/workflows/prepare.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@ on:
1111
required: true
1212
default: "X.Y.Z-SNAPSHOT"
1313
jobs:
14-
publish:
14+
prepare:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v2
18+
- run: |
19+
git config --global user.name 'Cuong Tran'
20+
git config --global user.email '[email protected]'
21+
1822
- uses: actions/setup-java@v2
1923
with:
2024
java-version: '11'
2125
distribution: 'adopt'
2226
- name: Prepare release
23-
run: mvn -V -B release:prepare -DdevelopmentVersion=${{ developmentVersion }} -DreleaseVersion=${{ github.event.inputs.releaseVersion }}
27+
run: mvn -V -B -ntp release:prepare -DpreparationGoals=validate -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} -DreleaseVersion=${{ github.event.inputs.releaseVersion }}

Diff for: pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
<connection>scm:git:http://github.com/ctran/TinyRadius.git</connection>
3737
<developerConnection>scm:git:http://github.com/ctran/TinyRadius.git</developerConnection>
3838
<url>http://github.com/ctran/TinyRadius/</url>
39-
<tag>v1.1.2</tag>
40-
</scm>
39+
<tag>HEAD</tag>
40+
</scm>
4141

4242
<properties>
4343
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)