Skip to content

Commit

Permalink
[REMOVE] Add version increment for this repo for simple testing
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Nov 2, 2024
1 parent e0bcf91 commit 880ae68
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 12 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/checkVersions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,9 @@ jobs:
maven-version: 3.9.9

- name: Check and increment versions
uses: Wandalen/wretry.action@f8754f79743ba113fedbba4499593f7d73b458eb # master
with:
attempt_delay: 200
attempt_limit: 10
command: >
mvn verify -DskipTests -Dcompare-version-with-baselines.skip=false
org.eclipse.tycho:tycho-versions-plugin:bump-versions -Dtycho.bump-versions.increment=100
--threads 1C --fail-at-end --batch-mode --no-transfer-progress --show-version
run: |
echo 'Comment: Hello World1' >>eclipse.platform.releng/bundles/org.eclipse.rcp/META-INF/MANIFEST.MF
echo 'Comment: Hello World2' >>eclipse.platform.releng/bundles/org.eclipse.test/META-INF/MANIFEST.MF
- name: Commit version increments, if any
run: |
Expand All @@ -57,8 +52,7 @@ jobs:
# Relevant files were staged, i.e. some version were changed
# Read 'releaseNumberSDK' property as stream version
mvn help:evaluate -Dexpression=releaseNumberSDK --quiet '-Doutput=releaseNumberSDK-value.txt'
streamVersion=$(<releaseNumberSDK-value.txt)
streamVersion='4.34'
rm -f releaseNumberSDK-value.txt
git config --global user.email '${{ inputs.botMail }}'
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Fast running checks for pull-requests

name: Pull-Request Checks
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
branches: [ master ]

jobs:
check-versions:
uses: HannesWell/eclipse.platform.releng.aggregator/.github/workflows/checkVersions.yml@master
with:
botName: Eclipse Platform Bot
botMail: [email protected]
2 changes: 0 additions & 2 deletions .github/workflows/publishVersionCheckResults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
description: The personal access token (with scope 'public_repo') of the bot to push a required change to a PR branch in a fork.
required: true

permissions: {} # all none

env:
COMMENT_FIRST_LINE: 'This pull request changes some projects for the first time in this development cycle'

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/version-increments.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish Version Check Results

on:
workflow_run:
workflows: [ 'Pull-Request Checks' ]
types: [ completed ]

jobs:
publish-version-check-results:
uses: HannesWell/eclipse.platform.releng.aggregator/.github/workflows/publishVersionCheckResults.yml@master
with:
botGithubId: eclipse-platform-bot
secrets:
githubBotPAT: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 880ae68

Please sign in to comment.