Skip to content

Commit

Permalink
Fix typo in service package name
Browse files Browse the repository at this point in the history
  • Loading branch information
ivo.liondov authored and ivo.liondov committed Dec 30, 2024
1 parent d952871 commit b70c0a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .maven/build-and-sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
VERSION="3.3.0"

# Constant: current package name
CURRENT_PACKAGE_NAME="service.gprc"
CURRENT_PACKAGE_NAME="service.grpc"

# Constant: Required package subdir structure
PACKAGE_DIR_STRUCTURE="io/approov/${CURRENT_PACKAGE_NAME}"
Expand Down Expand Up @@ -81,7 +81,7 @@ fi
# Copy operations to destination directory
# 1. Copy javadoc.jar file and rename to destination:
# Maven expects for version 3.2.2 of the javadoc.jar the following file
# service.gprc-3.2.2-javadoc.jar
# service.grpc-3.2.2-javadoc.jar
cp ${JAVADOC_JAR_PATH} ${DESTINATION_DIR}/${FILE_PREFIX}-javadoc.jar

# Check if the command was successful
Expand Down Expand Up @@ -120,7 +120,7 @@ md5sum "${DESTINATION_DIR}/${FILE_PREFIX}-javadoc.jar" | awk '{print $1}' > "$OU

# 2. Copy the aar file and rename to destination:
# Maven expects for version 3.2.2 of the aar file the following file
# service.gprc-3.2.2.aar
# service.grpc-3.2.2.aar
cp ${AAR_PATH} ${DESTINATION_DIR}/${FILE_PREFIX}.aar

# Check if the command was successful
Expand Down Expand Up @@ -160,7 +160,7 @@ md5sum "${DESTINATION_DIR}/${FILE_PREFIX}.aar" | awk '{print $1}' > "$OUTPUT_FIL

# 3. Copy the pom file and rename to destination:
# Maven expects for version 3.2.2 of the pom file the following file
# service.gprc-3.2.2.pom
# service.grpc-3.2.2.pom
cp ${POM_FILE_PATH} ${DESTINATION_DIR}/${FILE_PREFIX}.pom

# Check if the command was successful
Expand Down
4 changes: 2 additions & 2 deletions .maven/maven-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -z "$MAVEN_PASSWORD" ]; then
fi

# The body artifact name
BODY_ARTIFACT="service.gprc-${CURRENT_TAG}.zip"
BODY_ARTIFACT="service.grpc-${CURRENT_TAG}.zip"

# The username:password for the maven repository
MAVEN_CREDENTIALS=$(printf "${MAVEN_USERNAME}:${MAVEN_PASSWORD}" | base64)
Expand All @@ -29,4 +29,4 @@ curl --request POST \
--verbose \
--header "Authorization: Bearer ${MAVEN_CREDENTIALS}" \
--form "bundle=@${BODY_ARTIFACT}" \
"https://central.sonatype.com/api/v1/publisher/upload?publishingType=USER_MANAGED&name=service.gprc"
"https://central.sonatype.com/api/v1/publisher/upload?publishingType=USER_MANAGED&name=service.grpc"

0 comments on commit b70c0a4

Please sign in to comment.