Skip to content

Commit cedbb9e

Browse files
Switch alpha to alpha1 and update publish maven to support qualifier and meet requirements (#17094)
* Switch alpha to alpha1 and update publish maven to support qualifier and meet requirements Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Enhance logics Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> --------- Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent 22b9ac0 commit cedbb9e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish-maven-snapshots.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22-
- name: Set up JDK 17
22+
- name: Set up JDK 21
2323
uses: actions/setup-java@v4
2424
with:
2525
distribution: temurin
@@ -37,4 +37,4 @@ jobs:
3737
export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text)
3838
echo "::add-mask::$SONATYPE_USERNAME"
3939
echo "::add-mask::$SONATYPE_PASSWORD"
40-
./gradlew publishNebulaPublicationToSnapshotsRepository
40+
./gradlew publishNebulaPublicationToSnapshotsRepository -Dbuild.version_qualifier=alpha1

buildSrc/version.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Please use ../gradle/libs.versions.toml for dependency management
2-
opensearch = 3.0.0-alpha
2+
opensearch = 3.0.0

0 commit comments

Comments
 (0)