Skip to content

Commit

Permalink
Simulated bump to new RC version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jardo-51 committed Apr 7, 2024
1 parent 276555d commit 86cbed3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-current-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
pom-file: "non-branch-version-pom.xml"

- name: Assert version unchanged
run: .github/workflows/assert-project-version.sh non-branch-version-pom.xml 1.1.0-SNAPSHOT
run: .github/workflows/assert-project-version.sh non-branch-version-pom.xml 1.1.0-rc.0-SNAPSHOT

- name: Assert dependency version unchanged
run: .github/workflows/assert-dependency-version.sh non-branch-version-pom.xml com.jardoapps.maven-flow dummy-dependency 1.1.0-SNAPSHOT
run: .github/workflows/assert-dependency-version.sh non-branch-version-pom.xml com.jardoapps.maven-flow dummy-dependency 1.1.0-rc.0-SNAPSHOT

- name: Run action (branch version)
id: run-action-branch-version
Expand All @@ -70,7 +70,7 @@ jobs:
pom-file: "branch-version-pom.xml"

- name: Assert version changed
run: .github/workflows/assert-project-version.sh branch-version-pom.xml 1.1.0-SNAPSHOT
run: .github/workflows/assert-project-version.sh branch-version-pom.xml 1.1.0-rc.0-SNAPSHOT

- name: Assert dependency version changed
run: .github/workflows/assert-dependency-version.sh branch-version-pom.xml com.jardoapps.maven-flow dummy-dependency 1.1.0-SNAPSHOT
run: .github/workflows/assert-dependency-version.sh branch-version-pom.xml com.jardoapps.maven-flow dummy-dependency 1.1.0-rc.0-SNAPSHOT
4 changes: 2 additions & 2 deletions branch-version-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

<groupId>com.jardoapps</groupId>
<artifactId>maven-flow-test</artifactId>
<version>1.1.0-BUG-458-SNAPSHOT</version>
<version>1.1.0-rc.0-BUG-458-SNAPSHOT</version>

<dependencies>

<dependency>
<groupId>com.jardoapps.maven-flow</groupId>
<artifactId>dummy-dependency</artifactId>
<version>1.1.0-BUG-458-SNAPSHOT</version>
<version>1.1.0-rc.0-BUG-458-SNAPSHOT</version>
</dependency>

</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion dummy-dependency/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.jardoapps.maven-flow</groupId>
<artifactId>dummy-dependency</artifactId>
<version>1.1.0-BUG-458-SNAPSHOT</version>
<version>1.1.0-rc.0-BUG-458-SNAPSHOT</version>

<properties>
<java.version>17</java.version>
Expand Down
4 changes: 2 additions & 2 deletions non-branch-version-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

<groupId>com.jardoapps</groupId>
<artifactId>maven-flow-test</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-rc.0-SNAPSHOT</version>

<dependencies>

<dependency>
<groupId>com.jardoapps.maven-flow</groupId>
<artifactId>dummy-dependency</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-rc.0-SNAPSHOT</version>
</dependency>

</dependencies>
Expand Down

0 comments on commit 86cbed3

Please sign in to comment.