-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Create API cli and daemon releases as zip archives #6122
Create API cli and daemon releases as zip archives #6122
Conversation
Each distribution contains a runnable jar with a MANIFEST.MF defining the classpath (all jar files in lib/). To run daemon.jar: $ java -jar daemon.jar --apiPassword=xyz To run cli.jar: $ java -jar cli.jar --password=xyz <cmd> TODO Sign jar files, generate checksums.
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.
ACK - Tested it with a newly built release and ran daemon and cli on Regtest.
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.
ACK - Tested it locally for the old 1.8.4 release build
Are we gonna update downloads page with info about daemon/cli, or put some instructions about running daemon/cli without need to build it from sources? Just wanted to answer here with some link. |
I think we should add some information to the downloads page and the GitHub release notes. |
The Bisq gradle build already creates distribution .tar files within the cli and daemon subprojects'
build/distributions
directories. Instead of using additional gradle tasks to create runnablecli.jar
anddaemon.jar
files, simple bash scripts arrange the .tar contents into .zip files containing runnable jars at the root level, and dependent jars in theirlib
directories.The cli release zip file structure looks like this:
To call getversion from cli.jar:
$ java -jar cli.jar --password=becareful getversion
The daemon release tree structure would look the same (but more jars in the lib dir).
To run daemon.jar on mainnet:
$ java -jar daemon.jar --apiPassword=becareful
TODO Sign release .zip files, add checksums, etc...
Based on
master
.