diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..e7b1b86 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,2 @@ +_extends: .github +tag-template: XXX diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 0000000..5f51041 --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,7 @@ + + + io.jenkins.tools.incrementals + git-changelist-maven-extension + 1.1 + + diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 0000000..7ae9593 --- /dev/null +++ b/.mvn/maven.config @@ -0,0 +1,3 @@ +-Pconsume-incrementals +-Pmight-produce-incrementals +-Dchangelist.format=%d.%s diff --git a/README.md b/README.md index c654222..64aed6e 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ [Wiki](https://wiki.jenkins.io/display/JENKINS/Log+CLI+Plugin) + +# Releasing + +As per [instructions](https://github.com/jenkinsci/incrementals-tools/#superseding-maven-releases): + +```bash +mvn -Dset.changelist -DaltDeploymentRepository=maven.jenkins-ci.org::default::https://repo.jenkins-ci.org/releases/ clean deploy +``` + +then update [Releases](https://github.com/jenkinsci/log-cli-plugin/releases). diff --git a/pom.xml b/pom.xml index 10df66c..7aa793f 100644 --- a/pom.xml +++ b/pom.xml @@ -8,9 +8,10 @@ log-cli - 1.2-SNAPSHOT + ${changelist} hpi + 999999-SNAPSHOT 2.7.3 7 @@ -27,7 +28,7 @@ scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git https://github.com/jenkinsci/${project.artifactId}-plugin - HEAD + ${scmTag} @@ -48,4 +49,24 @@ 1.0 + + + block-MRP + + + changelist.format + + + + + + maven-release-plugin + + not-set-up-for-MRP + + + + + +