Skip to content

Commit 908c990

Browse files
Print uploaded artifacts (#54)
1 parent 392878a commit 908c990

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/deploy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,12 @@ echo "Deploying project to ${REPOSITORY_URL}/${REPOSITORY_NAME}"
4949
mvn -q deploy -Drepository.url="$REPOSITORY_URL" -Drepository.name="$REPOSITORY_NAME" -DskipTests
5050

5151
echo "Successfully deployed project to ${REPOSITORY_URL}/${REPOSITORY_NAME}"
52+
53+
# shellcheck disable=SC2016
54+
PACKAGES="$(mvn -Dexec.executable='echo' -Dexec.args='${project.artifactId}' exec:exec -q)"
55+
printf "The following artifacts have been created for upload:\n\n"
56+
for PACKAGE in $PACKAGES; do
57+
if [[ "$PACKAGE" != *"-sample"* ]] && [[ "$PACKAGE" != "spring-cloud-oci-docs" ]] && [[ "$PACKAGE" != "spring-cloud-oci-dependencies" ]]; then
58+
echo "com.oracle.cloud.spring:${PACKAGE}:${VERSION}"
59+
fi
60+
done

0 commit comments

Comments
 (0)