Skip to content

Commit 7355005

Browse files
authored
Merge pull request #256 from SolaceProducts/moodiRealist/DATAGO-99734-fix-release
DATAGO-99734: fix release workflow
2 parents 34e530f + c33f5a9 commit 7355005

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)