diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 937c165..3c1ea93 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,3 +1,3 @@ # https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc _extends: .github -tag-template: maven-license-plugin-$NEXT_MINOR_VERSION +tag-template: license-maven-plugin-$NEXT_MINOR_VERSION diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..0279984 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,15 @@ +# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins + +name: cd +on: + workflow_dispatch: + check_run: + types: + - completed + +jobs: + maven-cd: + uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1 + secrets: + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index c7834cd..0000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,14 +0,0 @@ - - -on: - push: - branches: - - master - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.mvn/maven.config b/.mvn/maven.config index 2a0299c..f7daf60 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -1,2 +1,3 @@ -Pconsume-incrementals -Pmight-produce-incrementals +-Dchangelist.format=%d.v%s diff --git a/pom.xml b/pom.xml index d8b5a5b..54868c4 100644 --- a/pom.xml +++ b/pom.xml @@ -11,11 +11,11 @@ io.jenkins.tools.maven license-maven-plugin - 1.18-SNAPSHOT + ${changelist} maven-plugin License Maven Plugin - https://github.com/jenkinsci/maven-license-plugin + https://github.com/jenkinsci/license-maven-plugin Maven plugin to process license information. @@ -33,6 +33,7 @@ + 999999-SNAPSHOT 3.9.0 3.8.1 UTF-8 @@ -43,9 +44,9 @@ - scm:git:https://github.com/jenkinsci/maven-license-plugin.git - scm:git:git@github.com:jenkinsci/maven-license-plugin.git - https://github.com/jenkinsci/maven-license-plugin + scm:git:https://github.com/jenkinsci/license-maven-plugin.git + scm:git:git@github.com:jenkinsci/license-maven-plugin.git + https://github.com/jenkinsci/license-maven-plugin HEAD