Files
alfresco-community-repo/scripts/zip-artifacts.sh
ehardon 7277b2adf0 APPS-241: - remove release documentation
- update regex to get only the first match of the release version
- update release script to be used in enterprise release as well
2020-10-09 09:54:23 +03:00

14 lines
495 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if [ $1 == 'community' ]; then
mkdir "artifacts_dir"
cp rm-community/rm-community-repo/target/alfresco-rm-*community*amp artifacts_dir
cp rm-community/rm-community-share/target/alfresco-rm-*community*amp artifacts_dir
cp rm-community/rm-community-rest-api-explorer/target/alfresco-rm-*community*war artifacts_dir
cd artifacts_dir
zip alfresco-rm-community-${RELEASE_VERSION}.zip *amp
ls artifacts_dir
#elif [ $1 == "enterprise" ]; then
fi