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

Custom name for tgz archive #1120

Closed
AntonYurchenko opened this issue Apr 20, 2018 · 1 comment
Closed

Custom name for tgz archive #1120

AntonYurchenko opened this issue Apr 20, 2018 · 1 comment

Comments

@AntonYurchenko
Copy link

Hi, i have a question:
After universal:packageZipTarball I have archive target/universal/myProject-1.0.8.tgz.
How can I change name of tgz archive? For example target/universal/myArchive.tgz

@muuki88
Copy link
Contributor

muuki88 commented Apr 22, 2018

IIRC you can override the packageName setting.

Something like

packageName in Universal := "myArchive.tgz"

However I would not really recommend this. Usually you should depend on that task and get the FIle value from the universal:packageZipTarball task instead of relying on side-effecting IO writes.

@muuki88 muuki88 closed this as completed Apr 22, 2018
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

No branches or pull requests

2 participants