diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index cbce730..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,3 +0,0 @@ -# https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc -_extends: .github -tag-template: ircbot-$NEXT_MINOR_VERSION diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 0000000..0279984 --- /dev/null +++ b/.github/workflows/cd.yaml @@ -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 1127bd0..0000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Automates creation of Release Drafts using Release Drafter -# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc - -on: - push: - branches: - - master - - main - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - # Drafts your next Release notes as Pull Requests are merged into the default branch - - uses: release-drafter/release-drafter@v5.21.1 - 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 7654d29..4aae1d9 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ org.jvnet.hudson.plugins ircbot hpi - ${revision}${changelist} + ${revision}.${changelist} Jenkins IRC Plugin A build status publisher that notifies channels on an IRC server @@ -29,11 +29,11 @@ - 2.47 - -SNAPSHOT + 3 + 999999-SNAPSHOT jenkinsci/${project.artifactId}-plugin - 1.53 - 2.332.4 + 2.332.4 + @@ -62,7 +62,7 @@ org.jvnet.hudson.plugins instant-messaging - ${version.instant-messaging.plugin} + 1.53