Skip to content

Commit

Permalink
Merge pull request #4 from fidelity/feature/compliant-versioning
Browse files Browse the repository at this point in the history
Feature/compliant versioning
  • Loading branch information
rorybakerfmr authored Apr 26, 2023
2 parents 31501da + 6c4a0af commit 0250517
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
11 changes: 11 additions & 0 deletions VERSIONING.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CDEvents Plugin version

The CDEvents plugin is versioned as follows:

`${revision}-${changelist}`

Where `revision` is incremented to match the spec of the current CDEvents SDK, and `changelist` is automatically
generated for each release.

In short, increments to `revision` should reflect (potentially breaking) changes to the CDEvents SDK or CDEvents spec,
while increments to `changelist` should reflect (non-breaking) changes to the CDEvents plugin itself.
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
<url>https://github.com/${gitHubRepo}</url>
</scm>
<properties>
<!-- revision: The version of cdevents sdk that this release is based upon -->
<revision>v0.1.0-draft6</revision>
<!-- revision: Maps Jenkins plugin release to the cdevents SDK version in use. See VERSIONING.MD -->
<revision>1</revision>
<changelist>999999-SNAPSHOT</changelist>
<cdevents.version>v0.1.0-draft6</cdevents.version>
<gitHubRepo>jenkinsci/cdevents-plugin</gitHubRepo>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<!-- Baseline Jenkins version you use to build the plugin. Users must have this version or
Expand Down Expand Up @@ -87,7 +88,7 @@
<dependency>
<groupId>dev.cdevents.sdk-java</groupId>
<artifactId>cdevents-sdk-java</artifactId>
<version>${revision}</version>
<version>${cdevents.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit 0250517

Please sign in to comment.