Simple Release

The following configuration creates and tags a release at the chosen Git repository, in this case it will be https://github.com/duke/app. The changelog will be automatically computed. No additional files nor distributions will be checksumed, signed, nor published.

  • YAML

  • TOML

  • JSON

  • Maven

  • Gradle

project:
  name: app
  version: 1.0.0
[project]
  name = "app"
  version = "1.0.0"
{
  "project": {
    "name": "app",
    "version": "1.0.0"
  }
}
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.acme</groupId>
  <artifactId>app</artifactId>
  <version>1.0.0</version>

  <name>app</name>
  <description>Sample app</description>
  <url>https://acme.com/app</url>
  <inceptionYear>2020</inceptionYear>

  <licenses>
    <license>
       <name>Apache-2.0</name>
       <url>https://spdx.org/licenses/Apache-2.0.html</url>
       <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <id>duke</id>
      <name>Duke</name>
      <roles>
        <role>author</role>
      </roles>
    </developer>
  </developers>

  <build>
    <plugins>
      <plugin>
        <groupId>org.jreleaser</groupId>
        <artifactId>jreleaser-maven-plugin</artifactId>
        <version>1.16.0-SNAPSHOT</version>
      </plugin>
    </plugins>
  </build>
</project>
plugins {
    id 'org.jreleaser' version '1.16.0-SNAPSHOT'
}

version = '1.0.0'

jreleaser {
  project {
    name = 'app'
  }
}