-
Notifications
You must be signed in to change notification settings - Fork 94
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(dist): unify binary name for hubble #392
Conversation
Codecov Report
@@ Coverage Diff @@
## master #392 +/- ##
=========================================
Coverage 62.55% 62.55%
Complexity 1866 1866
=========================================
Files 260 260
Lines 9405 9405
Branches 872 872
=========================================
Hits 5883 5883
Misses 3140 3140
Partials 382 382 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
hugegraph-dist/pom.xml
Outdated
mv $root_path/hugegraph-hubble/hugegraph-hubble ${final.name}/hugegraph-hubble-${project.version} | ||
mv $root_path/hugegraph-loader/hugegraph-loader-${project.version} ${final.name}/hugegraph-loader-${project.version} | ||
mv $root_path/hugegraph-tools/hugegraph-tools-${project.version} ${final.name}/hugegraph-tools-${project.version} | ||
mv $root_path/hugegraph-loader/apache-hugegraph-loader-incubating-${project.version} ${final.name}/apache-hugegraph-loader-incubating-${project.version} | ||
mv $root_path/hugegraph-tools/apache-hugegraph-tools-incubating-${project.version} ${final.name}/apache-hugegraph-tools-incubating-${project.version} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@z7658329 hubble
should also rename to apache, and remember check the string path in IDEA (search usage) to avoid inconsistency
and 2 improvement:
- use
mv -v
to show the verbose info - condiser use
$root_path/apache-hugegraph-*-incubating*/
? (need test it first)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have communicate with @JackyYangPassion
1.hubble rename to apache
2.use mv $root_path/apache-hugegraph--incubating/ instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ci error: cp "${TRAVIS_DIR}"/jacocoagent.jar $HUBBLE_DIR/lib || exit 1
cp: cannot create regular file 'hugegraph-hubble/lib': No such file or directory
Error: Process completed with exit code 1. |
mv -v $root_path/hugegraph-hubble/apache-hugegraph-hubble-incubating-${project.version} ${final.name}/ | ||
mv -v $root_path/hugegraph-loader/apache-hugegraph-loader-incubating-${project.version} ${final.name}/ | ||
mv -v $root_path/hugegraph-tools/apache-hugegraph-tools-incubating-${project.version} ${final.name}/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@z7658329 will the ${final.name}
be different in one pom file? seems a little strange
is the output right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@z7658329 will the
${final.name}
be different in one pom file? seems a little strangeis the output right?
make a mistake, the 2nd param is the dest dir (treat as the source dir before, which is wrong)
and shall we use mv -v xx/*/*hugegraph-*xx/ destDir/
to replace current command?
but current way is more accurate, use it
@@ -18,7 +18,7 @@ | |||
set -ev | |||
|
|||
TRAVIS_DIR=$(dirname "$0") | |||
HUBBLE_DIR="hugegraph-hubble" | |||
HUBBLE_DIR="apache-hugegraph-hubble-incubating-1.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@z7658329 the version should be a variable like $rivison? (not fixed?)
this error always exist, see #338 |
fix #393