Warning
|
Java 11 is required to build this sample. |
$ ./mvnw -Passemble package
Inspect the artifacts found at target/jreleaser/assemble/q-cli/jlink
and run one:
$ target/jreleaser/assemble/q-cli/jlink/work-linux-x86_64/q-cli-0.1.0-linux-x86_64/bin/q-cli
Warning
|
Requires a GitHub token for publishing a release to GitHub. |
-
Create a GitHub Personal Access Token. See Creating a personal access token for instructions.
-
Store the token as an environment variable (
JRELEASER_GITHUB_TOKEN
) or save it at a configuration file as explained at JReleaser’s environment settings.
Posting a release from a local environment
$ ./mvnw -Prelease jreleaser:config
$ ./mvnw -Prelease jreleaser:release -Djreleaser.dryrun=true
$ ./mvnw -Prelease jreleaser:release
Inspect additional artifacts found at target/jreleaser
:
target/jreleaser/
├── output.properties
├── release
│ └── CHANGELOG.md
└── trace.log