Skip to content

Commit

Permalink
Moved the javadoc and sources inside the distro tar
Browse files Browse the repository at this point in the history
  • Loading branch information
stanbrub committed Oct 18, 2024
1 parent 3f25ca9 commit 08f6b36
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/scripts/make-release-distro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,11 @@ cp ${DISTRO_SOURCE}/* ${DISTRO_DEST}
rm ${DISTRO_DEST}/dependency-pom.xml
cp target/${ARTIFACT}.jar ${DISTRO_DEST}/libs/
cp target/${ARTIFACT}-tests.jar ${DISTRO_DEST}/libs/
cp target/${ARTIFACT}-sources.jar ${DISTRO_DEST}/libs/
cp target/${ARTIFACT}-javadoc.jar ${DISTRO_DEST}/libs/
echo "VERSION=${RELEASE_VERSION}" > ${DISTRO_DEST}/.env

cd ${DISTRO_DEST}
tar cvzf ../${ARTIFACT}.tar * .env

# Copy other artifact to parent directory
cp target/${ARTIFACT}-sources.jar ./
cp target/${ARTIFACT}-javadoc.jar ./



0 comments on commit 08f6b36

Please sign in to comment.