Skip to content

Commit 4359639

Browse files
authored
rename directory to async-query-core (#3681)
1 parent cd41dd1 commit 4359639

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ jobs:
271271
272272
# Define constants
273273
ARTIFACT_ID="async-query-core"
274-
DIR_NAME="direct-query-poc2"
275274
GROUP_PATH="org/opensearch"
276275
VERSION="${{ steps.extract_version.outputs.VERSION }}"
277276
@@ -284,7 +283,7 @@ jobs:
284283
fi
285284
286285
# Create directory structure in local Maven repository
287-
MAVEN_LOCAL_PATH="${HOME}/.m2/repository/${GROUP_PATH}/${DIR_NAME}/${VERSION}"
286+
MAVEN_LOCAL_PATH="${HOME}/.m2/repository/${GROUP_PATH}/${ARTIFACT_ID}/${VERSION}"
288287
mkdir -p "${MAVEN_LOCAL_PATH}"
289288
290289
# Copy the shadow JAR to the local Maven repository with proper naming
@@ -299,7 +298,7 @@ jobs:
299298
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
300299
<modelVersion>4.0.0</modelVersion>
301300
<groupId>org.opensearch</groupId>
302-
<artifactId>${DIR_NAME}</artifactId>
301+
<artifactId>${ARTIFACT_ID}</artifactId>
303302
<version>${VERSION}</version>
304303
</project>
305304
EOF
@@ -332,8 +331,7 @@ jobs:
332331
- name: Update version metadata with commit ID
333332
run: |
334333
COMMIT_ID="${{ steps.set_commit.outputs.commit_id }}"
335-
DIR_NAME="direct-query-poc2"
336-
334+
ARTIFACT_ID="async-query-core"
337335
VERSION="${{ steps.extract_version.outputs.VERSION }}"
338336
339337
# Add commit ID to version-specific metadata file
@@ -343,7 +341,7 @@ jobs:
343341
METADATA_FILE="${TEMP_DIR}/maven-metadata.xml"
344342
345343
# Download metadata from repository
346-
META_URL="${SNAPSHOT_REPO_URL}org/opensearch/${DIR_NAME}/${VERSION}/maven-metadata.xml"
344+
META_URL="${SNAPSHOT_REPO_URL}org/opensearch/${ARTIFACT_ID}/${VERSION}/maven-metadata.xml"
347345
echo "Downloading metadata from ${META_URL}"
348346
349347
# Try to download the metadata file

0 commit comments

Comments
 (0)