Skip to content

Automatic version bump job is not working #3935

Description

@iloveeclipse

Seen already on almost all SDK repositories.

There workflow Check and increment service versions configured to automatically bump manifest versions on the first change in the release stopped to work in 4.41.

Latest example: eclipse-platform/eclipse.platform#2811

Here the log from failure. Looks like committing the change doesn't work anymore (or following task)?

Image
Run set -x
+ git add '*/META-INF/MANIFEST.MF'
+ git add '*/feature.xml'
+ git add '*/pom.xml'
++ git diff --name-only --cached
+ [[ ant/org.eclipse.ant.ui/META-INF/MANIFEST.MF != '' ]]
+ pushd .
+ mvn help:evaluate -Dexpression=releaseNumberSDK --quiet -Doutput=streamVersion-value.txt
~/work/eclipse.platform/eclipse.platform ~/work/eclipse.platform/eclipse.platform
+ streamVersion=4.41
+ rm -f streamVersion-value.txt
+ popd
+ git config --global user.email platform-bot@eclipse.org
~/work/eclipse.platform/eclipse.platform
+ git config --global user.name 'Eclipse Platform Bot'
+ git status
HEAD detached at pull/2811/merge
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	modified:   ant/org.eclipse.ant.ui/META-INF/MANIFEST.MF
+ git commit -m 'Version bump(s) for 4.41 stream'
[detached HEAD 4e8f26e56b] Version bump(s) for 4.41 stream
 1 file changed, 1 insertion(+), 1 deletion(-)
+ git format-patch -1 HEAD --no-stat --output version_increments.patch
+ echo 2811
+ echo '::error title=Version increments are missing::Required version increments are missing and a commit to apply them is about to be pushed to your PR'\''s branch.'
+ exit 1
Error: Required version increments are missing and a commit to apply them is about to be pushed to your PR's branch.
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions