File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -88,19 +88,24 @@ jobs:
8888 export SKIP_FLAGS_NON_UNIT_TESTS="-Dcheckstyle.skip -Dpmd.skip -Dcpd.skip -Dfindbugs.skip -Dspotbugs.skip"
8989 echo "SKIP_FLAGS_NON_UNIT_TESTS=$SKIP_FLAGS_NON_UNIT_TESTS" >> $GITHUB_ENV
9090 echo "SKIP_FLAGS_ALL_TESTS=$SKIP_FLAGS_NON_UNIT_TESTS -Dmaven.test.skip=true" >> $GITHUB_ENV
91-
91+ - name : Clean before release
92+ run : mvn clean --file service/pom.xml
9293 - name : Maven Release
9394 run : mvn release:prepare release:perform -B --file service/pom.xml -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }}
9495 - name : Changelog
9596 uses : Bullrich/generate-release-changelog@master
9697 id : Changelog
9798 env :
9899 REPO : ${{ github.repository }}
100+ - name : Debug - List JAR files
101+ run : |
102+ echo "Listing all JAR files in target directories:"
103+ find . -name "*.jar" | grep "target"
99104 - name : Create GitHub Release
100105 uses : ncipollo/release-action@v1
101106 with :
102107 tag : " v${{ github.event.inputs.releaseVersion }}"
103- artifacts : " **/application/target/* .jar"
108+ artifacts : " **/application/target/event-management-agent-${{ github.event.inputs.releaseVersion }} .jar"
104109 generateReleaseNotes : true
105110 makeLatest : true
106111 body : ${{ steps.Changelog.outputs.changelog }}
You can’t perform that action at this time.
0 commit comments