Skip to content

Commit

Permalink
Merge pull request FiniteStateInc#14 from FiniteStateInc/cp/auto-real…
Browse files Browse the repository at this point in the history
…ease-cd

auto release config
  • Loading branch information
cpfarherFinitestate authored Jul 17, 2024
2 parents 8f118b0 + c446576 commit db05328
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 27 deletions.
6 changes: 0 additions & 6 deletions .github/release-drafter.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
17 changes: 0 additions & 17 deletions .github/workflows/release-drafter.yml

This file was deleted.

1 change: 1 addition & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>io.jenkins.plugins</groupId>
<artifactId>finite-state-binary-scan</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<packaging>hpi</packaging>

<name>Upload Binary Scan</name>
Expand All @@ -30,9 +30,7 @@
</scm>

<properties>
<revision>1.0</revision>
<changelist>-SNAPSHOT</changelist>

<changelist>999999-SNAPSHOT</changelist>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.version>2.440.3</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
Expand Down

0 comments on commit db05328

Please sign in to comment.