Upload

Artifacts and files may be uploaded to configured locations.

Legend:

  • required

  • optional

  • may use environment variable

  • accepts Name Templates

  • YAML

  • TOML

  • JSON

  • Maven

  • Gradle

# 
upload:
  # Enable or disable all configured uploaders.
  # Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
  # Defaults to `ALWAYS`.
  # 
  active: ALWAYS
# 
[upload]

  # Enable or disable all configured uploaders.
  # Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
  # Defaults to `ALWAYS`.
  # 
  active = "ALWAYS"
{
  // 
  "upload": {
    // Enable or disable all configured uploaders.
    // Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
    // Defaults to `ALWAYS`.
    // 
    "active": "ALWAYS"
  }
}
<jreleaser>
  <!--
    
  -->
  <upload>
    <!--
      Enable or disable all configured uploaders.
      Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
      Defaults to `ALWAYS`.
      
    -->
    <active>ALWAYS</active>
  </upload>
</jreleaser>
jreleaser {
  // icon;dot-circle[]
  upload {
    // Enable or disable all configured uploaders.
    // Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
    // Defaults to `ALWAYS`.
    // 
    active = 'ALWAYS'
  }
}
When not explicitly set, the value of active may be resolved from an environment variable JRELEASER_UPLOAD_ACTIVE or from a system property jreleaser.upload.active. The system property takes precedence over the environment variable.