Skip to content

Commit 0c5ee28

Browse files
author
RanVaknin
committed
Fix cloudwatch reporting
1 parent ef0f88d commit 0c5ee28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildspecs/release-to-maven-central.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ phases:
2121
build:
2222
commands:
2323
- RELEASE_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
24-
- SONATYPE_URL="https://repo1.maven.org/maven2/software/amazon/awssdk/aws-sdk-java/$RELEASE_VERSION/"
24+
- ARTIFACT_URL="https://repo1.maven.org/maven2/software/amazon/awssdk/aws-sdk-java/$RELEASE_VERSION/"
2525
- |
26-
if ! curl -f --head $SONATYPE_URL; then
26+
if ! curl -f --head $ARTIFACT_URL; then
2727
SONATYPE_USERNAME=`aws secretsmanager get-secret-value --secret-id $SONATYPE_USERNAME_ARN --query SecretString --output text`
2828
SONATYPE_PASSWORD=`aws secretsmanager get-secret-value --secret-id $SONATYPE_PASSWORD_ARN --query SecretString --output text`
2929
SDK_SIGNING_GPG_KEYNAME=`aws secretsmanager get-secret-value --secret-id $SDK_SIGNING_GPG_KEYNAME_ARN --query SecretString --output text`

0 commit comments

Comments
 (0)