mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-09-10 14:12:09 +00:00
Update verifyReleaseTag.sh
Instead of using a hard coded string the image name is retrieved from the docker-alfresco/pom.xml
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
alfresco_docker_image="alfresco/alfresco-content-repository-community"
|
||||
# get the image name from the pom file
|
||||
alfresco_docker_image=$(mvn help:evaluate -f ./docker-alfresco/pom.xml -Dexpression=image.name -q -DforceStdout)
|
||||
if [ -v ${release_version} ]||[ -z ${release_version} ]; then
|
||||
# if we don't have a user added release version, get the verison from the pom
|
||||
pom_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
|
||||
|
Reference in New Issue
Block a user