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

[Improvement] Assembling the Graviton distribution as tar.gz file #426

Closed
xunliu opened this issue Sep 20, 2023 · 0 comments · Fixed by #430
Closed

[Improvement] Assembling the Graviton distribution as tar.gz file #426

xunliu opened this issue Sep 20, 2023 · 0 comments · Fixed by #430
Assignees
Labels
improvement Improvements on everything

Comments

@xunliu
Copy link
Member

xunliu commented Sep 20, 2023

What would you like to be improved?

Currently, When you execting ./gradlew assembleDistribution command, will assembling the Graviton as tar file, and when you untar it, The doesn't uncompress into graviton-<version> directory.

How should we improve?

No response

@xunliu xunliu added the improvement Improvements on everything label Sep 20, 2023
@xunliu xunliu self-assigned this Sep 20, 2023
jerryshao pushed a commit that referenced this issue Sep 20, 2023
…file (#430)

### What changes were proposed in this pull request?

Modify `val assembleDistribution by registering(Tar::class)` gradle
task.

### Why are the changes needed?

Currently, When you execting `./gradlew assembleDistribution` command,
will assemble the Graviton as a tar file, and when you untar it, The
doesn't uncompress into `graviton-<version>` directory.

Fix: #426 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

```
% ls -lt distribution 
graviton-0.2.0-SNAPSHOT
graviton-0.2.0-SNAPSHOT.tar.gz.sha256
graviton-0.2.0-SNAPSHOT.tar.gz
package
ls -lt distribution/graviton-0.2.0-SNAPSHOT
drwxr-xr-x   4 liuxun  staff   128 Sep 20 20:21 bin
drwxr-xr-x   5 liuxun  staff   160 Sep 20 20:21 conf
drwxr-xr-x   4 liuxun  staff   128 Sep 20 20:21 catalogs
drwxr-xr-x  75 liuxun  staff  2400 Sep 20 20:21 libs
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvements on everything
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant