Skip to content

Commit 4e7d9a7

Browse files
authored
Merge pull request #94 from dwnusbaum/enable-cd
Enable CD
2 parents 2037a4c + 91a1e88 commit 4e7d9a7

File tree

6 files changed

+25
-29
lines changed

6 files changed

+25
-29
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
version: 2
22
updates:
33
- package-ecosystem: maven
4-
directory: "/"
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
- package-ecosystem: github-actions
8+
directory: /
59
schedule:
610
interval: weekly
7-
open-pull-requests-limit: 10
8-
ignore:
9-
- dependency-name: org.jenkins-ci.main:jenkins-core
10-
versions:
11-
- ">= 0"

.github/release-drafter.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
_extends: .github
2-
# Currently the plugin uses the 5-digit versioning, so Release Drafter won't help with tag templates anyway
3-
tag-template: apache-httpcomponents-client-4-api-$NEXT_MINOR_VERSION

.github/workflows/cd.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins
2+
3+
name: cd
4+
on:
5+
workflow_dispatch:
6+
check_run:
7+
types:
8+
- completed
9+
10+
jobs:
11+
maven-cd:
12+
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
13+
secrets:
14+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
15+
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

.github/workflows/release-drafter.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.mvn/maven.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
-Pconsume-incrementals
22
-Pmight-produce-incrementals
3+
-Dchangelist.format=%d.v%s

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
</parent>
1111

1212
<artifactId>apache-httpcomponents-client-4-api</artifactId>
13-
<version>${revision}${changelist}</version>
13+
<version>${revision}-${changelist}</version>
1414
<packaging>hpi</packaging>
1515

1616
<properties>
17-
<revision>4.5.13-2.0</revision>
18-
<changelist>-SNAPSHOT</changelist>
17+
<revision>4.5.13</revision>
18+
<changelist>999999-SNAPSHOT</changelist>
1919
<jenkins.version>2.319.1</jenkins.version>
2020
<httpcore.version>4.4.15</httpcore.version>
21-
<httpclient.version>4.5.13</httpclient.version>
21+
<httpclient.version>${revision}</httpclient.version>
2222
<httpasyncclient.version>4.1.4</httpasyncclient.version>
2323
</properties>
2424

0 commit comments

Comments
 (0)