mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-09-10 14:12:09 +00:00
ACS-2304 Copy license report to downloads bucket. (#1465)
Also ensure the report contains information about the Repo _and_ Share.
This commit is contained in:
@@ -17,11 +17,7 @@ DESTINATION="s3://eu.dl.alfresco.com/release/community/RM/${RELEASE_VERSION}"
|
|||||||
|
|
||||||
printf "\n%s\n%s\n" "${SOURCE}" "${DESTINATION}"
|
printf "\n%s\n%s\n" "${SOURCE}" "${DESTINATION}"
|
||||||
|
|
||||||
aws s3 cp --acl private \
|
aws s3 cp --acl private --recursive "${SOURCE}" "${DESTINATION}"
|
||||||
"${SOURCE}/alfresco-governance-services-community-${RELEASE_VERSION}.zip" \
|
|
||||||
"${DESTINATION}/alfresco-governance-services-community-${RELEASE_VERSION}.zip"
|
|
||||||
|
|
||||||
|
|
||||||
set +vex
|
set +vex
|
||||||
echo "=========================== Finishing Copy to Release Bucket Script =========================="
|
echo "=========================== Finishing Copy to Release Bucket Script =========================="
|
||||||
|
|
||||||
|
@@ -17,15 +17,7 @@ DESTINATION="s3://eu.dl.alfresco.com/release/community/${RELEASE_VERSION}-build-
|
|||||||
|
|
||||||
printf "\n%s\n%s\n" "${SOURCE}" "${DESTINATION}"
|
printf "\n%s\n%s\n" "${SOURCE}" "${DESTINATION}"
|
||||||
|
|
||||||
aws s3 cp --acl private \
|
aws s3 cp --acl private --recursive "${SOURCE}" "${DESTINATION}"
|
||||||
"${SOURCE}/alfresco.war" \
|
|
||||||
"${DESTINATION}/alfresco.war"
|
|
||||||
|
|
||||||
aws s3 cp --acl private \
|
|
||||||
"${SOURCE}/alfresco-content-services-community-distribution-${RELEASE_VERSION}.zip" \
|
|
||||||
"${DESTINATION}/alfresco-content-services-community-distribution-${RELEASE_VERSION}.zip"
|
|
||||||
|
|
||||||
|
|
||||||
set +vex
|
set +vex
|
||||||
echo "=========================== Finishing Copy to Release Bucket Script =========================="
|
echo "=========================== Finishing Copy to Release Bucket Script =========================="
|
||||||
|
|
||||||
|
@@ -16,7 +16,15 @@ mkdir -p deploy_dir
|
|||||||
cp distribution/target/alfresco.war deploy_dir
|
cp distribution/target/alfresco.war deploy_dir
|
||||||
cp distribution/target/*-distribution*.zip deploy_dir
|
cp distribution/target/*-distribution*.zip deploy_dir
|
||||||
# Create third party license csv file and add it to the deploy directory.
|
# Create third party license csv file and add it to the deploy directory.
|
||||||
python3 ./third-party-license-overrides/thirdPartyLicenseCSVCreator.py --project "`pwd`" --version "${VERSION}" --combined --output "deploy_dir"
|
unzip deploy_dir/*-distribution*.zip -d deploy_dir/community-acs
|
||||||
|
zippaths=""
|
||||||
|
for file in `find deploy_dir/community-acs -name "*.amp" -o -name "*.war" -not -name "ROOT.war" -not -name "_vti_bin.war"`
|
||||||
|
do
|
||||||
|
zippaths+="$file|"
|
||||||
|
done
|
||||||
|
zippaths=${zippaths::-1}
|
||||||
|
python3 ./third-party-license-overrides/thirdPartyLicenseCSVCreator.py --zippaths "${zippaths}" --version "${VERSION}" --combined --output "deploy_dir"
|
||||||
|
rm -rf deploy_dir/community-acs
|
||||||
echo "Local deploy directory content:"
|
echo "Local deploy directory content:"
|
||||||
ls -lA deploy_dir
|
ls -lA deploy_dir
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user