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

Correctly copy CLI binaries to dist path #748

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

ikhoon
Copy link
Contributor

@ikhoon ikhoon commented Nov 10, 2022

Motivation:

dogma script expects the binaries to be in dist/bin/native/ but cli-version was appended.
Hence, dogma.{os}-{arch} binaries were copied into
dist/bin/native/{cli-version}/ and dogma script failed to run.

Modifications:

  • Specify cli-version when copying CLI binaries.

Result:

Correctly run CLI binaries with the dogma script.

Motivation:

`dogma.{os}-{arch}` binaries were copied into
`dist/bin/native/{cli-version}/`. `dogma` script expects the binaries to be
in `dist/bin/native/` but `cli-version` was prepended.

Modifications:

- Specify `cli-version` when copying CLI binaries.

Result:

Correctly run CLI binaries with the `dogma` script.
@ikhoon ikhoon added this to the 0.58.1 milestone Nov 10, 2022
@ikhoon ikhoon added the defect label Nov 10, 2022
Copy link
Member

@minwoox minwoox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

@codecov
Copy link

codecov bot commented Nov 10, 2022

Codecov Report

Base: 64.87% // Head: 65.20% // Increases project coverage by +0.33% 🎉

Coverage data is based on head (55651a5) compared to base (392f94a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #748      +/-   ##
============================================
+ Coverage     64.87%   65.20%   +0.33%     
- Complexity     3222     3267      +45     
============================================
  Files           349      350       +1     
  Lines         13474    13704     +230     
  Branches       1454     1485      +31     
============================================
+ Hits           8741     8936     +195     
- Misses         3905     3929      +24     
- Partials        828      839      +11     
Impacted Files Coverage Δ
...aldogma/client/armeria/CompositeEndpointGroup.java 75.00% <0.00%> (-18.75%) ⬇️
...server/internal/thrift/CentralDogmaExceptions.java 50.00% <0.00%> (-13.64%) ⬇️
...centraldogma/server/internal/mirror/GitMirror.java 79.09% <0.00%> (-0.17%) ⬇️
...centraldogma/server/internal/api/WatchService.java 76.27% <0.00%> (ø)
...ntraldogma/server/internal/mirror/MirrorState.java 100.00% <0.00%> (ø)
...raldogma/server/internal/mirror/MirroringTask.java 100.00% <0.00%> (ø)
.../centraldogma/server/internal/api/HttpApiUtil.java 79.74% <0.00%> (+0.25%) ⬆️
...internal/mirror/DefaultMirroringServicePlugin.java 91.66% <0.00%> (+0.36%) ⬆️
...raldogma/server/internal/api/ContentServiceV1.java 85.82% <0.00%> (+0.74%) ⬆️
...ecorp/centraldogma/server/CentralDogmaBuilder.java 52.38% <0.00%> (+0.79%) ⬆️
... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@jrhee17 jrhee17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops 😅 Thanks @ikhoon ! 🙇 🙇 🙇

@ikhoon ikhoon merged commit 8b43298 into line:master Nov 10, 2022
@ikhoon ikhoon deleted the fix-wrong-cli-copy branch November 10, 2022 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants