Skip to content

Commit 078603b

Browse files
committed
close snapshot repo
1 parent c9bb1f3 commit 078603b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codebuild/cd/deploy-snapshot-android.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ if [ "$PROMOTE_RELEASE" = "true" ]; then
2020
./gradlew -PsigningKey=$"$GPG_KEY" -PsigningPassword=$MAVEN_GPG_PASSPHRASE -PsonatypeUsername=$ST_USERNAME -PsonatypePassword=$ST_PASSWORD publishToSonatype closeAndReleaseSonatypeStagingRepository
2121
else
2222
# close the staging repository without promoting release. NOTES: you need to manually clean up the staging repository in Maven Central.
23-
./gradlew -PnewVersion=$DEPLOY_VERSION -PsigningKey=$"$GPG_KEY" -PsigningPassword=$MAVEN_GPG_PASSPHRASE -PsonatypeUsername=$ST_USERNAME -PsonatypePassword=$ST_PASSWORD publishToSonatype
23+
./gradlew -PnewVersion=$DEPLOY_VERSION -PsigningKey=$"$GPG_KEY" -PsigningPassword=$MAVEN_GPG_PASSPHRASE -PsonatypeUsername=$ST_USERNAME -PsonatypePassword=$ST_PASSWORD publishToSonatype closeSonatypeStagingRepository
2424
fi

codebuild/cd/deploy-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ phases:
5858
# update the CRT dependency to the latest released version
5959
- mvn -B versions:use-latest-versions -Dincludes=software.amazon.awssdk.crt*
6060

61-
# update the version to match the git tag, make a snapshot version we can test
61+
# make a snapshot version we can test
6262
- export DEPLOY_VERSION=${PKG_VERSION}-SNAPSHOT
6363
- mvn -B versions:set -DnewVersion=${DEPLOY_VERSION}
6464
- mvn -B deploy -Prelease -Dmaven.test.skip=true

0 commit comments

Comments
 (0)