APPS-241: Set up pre-commit plugin and enterprise release step

- Added enterprise release stage and used existing configuration as
      the one for community release
This commit is contained in:
Raluca Munteanu
2020-10-09 16:33:09 +03:00
parent f8aff5caf3
commit f46976a687
2 changed files with 30 additions and 3 deletions

View File

@@ -9,5 +9,11 @@ if [ $1 == 'community' ]; then
cd artifacts_dir
zip alfresco-rm-community-${RELEASE_VERSION}.zip *amp
ls artifacts_dir
#elif [ $1 == "enterprise" ]; then
elif [ $1 == "enterprise" ]; then
mkdir "artifacts_dir"
cp rm-enterprise/rm-enterprise-repo/target/alfresco-rm-*enterprise*amp artifacts_dir
cp rm-enterprise/rm-enterprise-share/target/alfresco-rm-*enterprise*amp artifacts_dir
cd artifacts_dir
zip alfresco-rm-enterprise-${RELEASE_VERSION}.zip *amp
ls artifacts_dir
fi