Skip to content

Commit

Permalink
[Builds] Remove elements unnecessary with the new version-bump workflow
Browse files Browse the repository at this point in the history
With the new reusable workflow for automated version increments in
pull-requests it is not necessary anymore to bump versions in advance
during release preparation or the enable bumping if the property
'compare-version-with-baselines.skip' is set to false.
Everything now happens automatically and these elements can therefore be
removed.
  • Loading branch information
HannesWell committed Sep 24, 2024
1 parent 4584eba commit c45aafc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/updateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@ jobs:
mvn -U -Pbuild-individual-bundles -ntp
org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=${{ github.event.milestone.title }}.0-SNAPSHOT
org.eclipse.tycho:tycho-versions-plugin:set-parent-version -DnewParentVersion=${{ github.event.milestone.title }}.0-SNAPSHOT
- name: Build and Bump Versions
uses: Wandalen/wretry.action@6feedb7dedadeb826de0f45ff482b53b379a7844 # master
with:
attempt_delay: 120000
attempt_limit: 10
command: >-
mvn -U -Pbuild-individual-bundles -ntp
clean verify
-DskipTests
-Dcompare-version-with-baselines.skip=false
org.eclipse.tycho:tycho-versions-plugin:bump-versions -Dtycho.bump-versions.increment=100
- name: Create Pull Request for Release ${{ github.event.milestone.title }}
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
Expand Down
26 changes: 0 additions & 26 deletions eclipse-platform-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -774,32 +774,6 @@
</repository>
</repositories>
</profile>
<profile>
<!-- This provile enables automatic version bumps when running the build -->
<id>vb</id>
<properties>
<compare-version-with-baselines.skip>false</compare-version-with-baselines.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<executions>
<execution>
<id>bump</id>
<goals>
<goal>bump-versions</goal>
</goals>
<configuration>
<increment>100</increment>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-individual-bundles</id>
<activation>
Expand Down

0 comments on commit c45aafc

Please sign in to comment.