Skip to content

Commit

Permalink
Release pipelines shouldn't skip a version
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvisser authored and erwinc1 committed Nov 22, 2023
1 parent 085d86f commit db57318
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-major-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- id: CD
uses: ./.github/workflows/actions/cd
with:
new-version: '\${parsedVersion.nextMajorVersion}.0.0'
new-version: '\${parsedVersion.majorVersion}.0.0'
gpg-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
server-username: ${{ secrets.OSSRH_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- id: CD
uses: ./.github/workflows/actions/cd
with:
new-version: '\${parsedVersion.majorVersion}.\${parsedVersion.nextMinorVersion}.0'
new-version: '\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.0'
gpg-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
server-username: ${{ secrets.OSSRH_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- id: CD
uses: ./.github/workflows/actions/cd
with:
new-version: '\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}'
new-version: '\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.incrementalVersion}'
gpg-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
server-username: ${{ secrets.OSSRH_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<artifactId>shadow-tool</artifactId>
<groupId>io.github.rabobank</groupId>
<packaging>jar</packaging>
<version>1.4.1-SNAPSHOT</version>
<version>1.4.3-SNAPSHOT</version>
<url>https://github.com/rabobank/shadow-tool</url>
<description>This library allows you to safely test your migration from one back-end to another in production!
</description>
Expand Down

0 comments on commit db57318

Please sign in to comment.