sbt/launcher-package/CONTRIBUTING.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
509 B
Markdown
Raw Normal View History

2015-08-11 07:40:27 +02:00
Steps to publish
================
```
$ sbt -Dsbt.build.version=1.0.3 -Dsbt.build.offline=true
2015-08-11 07:40:27 +02:00
> universal:publish
> debian:publish
> rpm:publish
> universal:bintrayReleaseAllStaged
> debian:releaseAllStaged
> rpm:releaseAllStaged
```
## Notes on batch
### Testing if a variable is blank
```
if not defined _JAVACMD set _JAVACMD=java
```
### Testing if an argument %0 is blank
```
if "%~0" == "" goto echolist_end
```
The above would work in case `%0` contains either double quote (`"`) or whitespace.