mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge pull request #1246 from Alfresco/merge-2.7/APPS-241_addCoReleaseStage_merge2.7_no
APPS-241: Create Community and Enterprise Release and Publish Stages
This commit is contained in:
24
scripts/zip-artifacts-release.sh
Normal file
24
scripts/zip-artifacts-release.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
release_type=$1
|
||||
|
||||
mkdir "artifacts_dir"
|
||||
|
||||
mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy \
|
||||
-Dartifact=org.alfresco:alfresco-rm-${release_type}-repo:${RELEASE_VERSION}:amp \
|
||||
-DoutputDirectory=artifacts_dir
|
||||
|
||||
mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy \
|
||||
-Dartifact=org.alfresco:alfresco-rm-${release_type}-share:${RELEASE_VERSION}:amp \
|
||||
-DoutputDirectory=artifacts_dir
|
||||
|
||||
mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy \
|
||||
-Dartifact=org.alfresco:alfresco-rm-${release_type}-rest-api-explorer:${RELEASE_VERSION}:war \
|
||||
-DoutputDirectory=artifacts_dir
|
||||
|
||||
cd artifacts_dir
|
||||
zip alfresco-rm-${release_type}-${RELEASE_VERSION}.zip *
|
||||
|
||||
# rm *.amp *.war -f
|
||||
ls
|
Reference in New Issue
Block a user