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

[#426] feat(build): Assembling the Graviton distribution as tar.gz file #430

Merged
merged 1 commit into from
Sep 20, 2023
Merged

[#426] feat(build): Assembling the Graviton distribution as tar.gz file #430

merged 1 commit into from
Sep 20, 2023

Conversation

xunliu
Copy link
Member

@xunliu xunliu commented Sep 20, 2023

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

@github-actions
Copy link

Code Coverage Report

Overall Project 62.58% 🟢

There is no coverage information present for the Files changed

@jerryshao jerryshao merged commit 89c3a0c into apache:main Sep 20, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement] Assembling the Graviton distribution as tar.gz file
2 participants