diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index ef67ef4..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,2 +0,0 @@ -# Extends the default ReleaseDrafter config provided in https://github.com/jenkinsci/.github -_extends: .github diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 0000000..f371773 --- /dev/null +++ b/.github/workflows/cd.yaml @@ -0,0 +1,19 @@ +# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins + +name: cd +on: + workflow_dispatch: + check_run: + types: + - completed + +permissions: + checks: read + contents: write + +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 864fc60..0000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,22 +0,0 @@ -# Automates creation of Release Drafts using Release Drafter -# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc -name: Release Drafter - -on: - push: - branches: - - main - tags: - - '*' - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v6 - with: - # Publishes a new GH Release automatically once a tag gets pushed - publish: startsWith(github.ref, "refs/tags") - 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 5fac2d8..37ee7c7 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ io.jenkins.plugins apache-httpcomponents-client-5-api - ${revision}${changelist} + ${revision}-${changelist} hpi Apache HttpComponents Client 5.x API Plugin @@ -47,7 +47,7 @@ 5.2.4 2.361.4 ${httpclient.version} - -999999-SNAPSHOT + 999999-SNAPSHOT false