Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix importer jar name in release artifact #473

Merged
merged 1 commit into from Dec 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 5 additions & 7 deletions .circleci/config.yml
Expand Up @@ -70,26 +70,24 @@ jobs:
- run:
name: Collecting assets for hedera-mirror-grpc
command: |
set -x
set -ex
VERSION_TAG=${CIRCLE_TAG/*\//}
NAME=hedera-mirror-grpc-${VERSION_TAG:-b$CIRCLE_BUILD_NUM}
WORKSPACE=/tmp/workspace
mkdir -p ${WORKSPACE}/${NAME}
mv hedera-mirror-grpc/target/hedera-mirror-grpc-*.jar ${WORKSPACE}/${NAME}
mv hedera-mirror-grpc/target/hedera-mirror-grpc-*.jar ${WORKSPACE}/${NAME}/${NAME}.jar
mv hedera-mirror-grpc/scripts ${WORKSPACE}/${NAME}
mkdir -p ${WORKSPACE}/artifacts
tar -czf ${WORKSPACE}/artifacts/${NAME}.tgz -C ${WORKSPACE} ${NAME}
- run:
name: Collecting assets for hedera-mirror-importer
command: |
set -x
set -ex
VERSION_TAG=${CIRCLE_TAG/*\//}
NAME=hedera-mirror-importer-${VERSION_TAG:-b$CIRCLE_BUILD_NUM}
WORKSPACE=/tmp/workspace
mkdir -p ${WORKSPACE}/${NAME}
# Truncate '-exec' from jar name
jarname=jarname=$(ls hedera-mirror-importer/target/hedera-mirror-importer-*-exec.jar | sed -E "s:.*target/(.*)-exec.jar:\1:")
mv hedera-mirror-importer/target/hedera-mirror-importer-*-exec.jar ${WORKSPACE}/${NAME}/${jarname}.jar
mv hedera-mirror-importer/target/hedera-mirror-importer-*-exec.jar ${WORKSPACE}/${NAME}/${NAME}.jar
mv hedera-mirror-importer/scripts ${WORKSPACE}/${NAME}
mkdir -p ${WORKSPACE}/artifacts
tar -czf ${WORKSPACE}/artifacts/${NAME}.tgz -C ${WORKSPACE} ${NAME}
Expand Down Expand Up @@ -136,7 +134,7 @@ jobs:
working_directory: "hedera-mirror-rest"
name: Collecting assets
command: |
set -x
set -ex
VERSION_TAG=${CIRCLE_TAG/*\//}
NAME=hedera-mirror-rest-${VERSION_TAG:-b$CIRCLE_BUILD_NUM}
npm pack
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-coverage/pom.xml
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0-beta2</version>
<version>0.5.0-beta3</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-datagenerator/pom.xml
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0-beta2</version>
<version>0.5.0-beta3</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-grpc/pom.xml
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0-beta2</version>
<version>0.5.0-beta3</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-importer/pom.xml
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0-beta2</version>
<version>0.5.0-beta3</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-protobuf/pom.xml
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0-beta2</version>
<version>0.5.0-beta3</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-rest/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hedera-mirror-rest/package.json
@@ -1,6 +1,6 @@
{
"name": "hedera-mirror-rest",
"version": "0.5.0-beta2",
"version": "0.5.0-beta3",
"description": "Hedera Mirror Node REST API",
"main": "server.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-rest/pom.xml
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0-beta2</version>
<version>0.5.0-beta3</version>
</parent>

<build>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -4,7 +4,7 @@

<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0-beta2</version>
<version>0.5.0-beta3</version>
<description>Hedera Mirror Node mirrors data from Hedera nodes and serves it via an API</description>
<inceptionYear>2019</inceptionYear>
<modelVersion>4.0.0</modelVersion>
Expand Down