[BUG] 'Increment Version' workflow doesn't add new 1.x BWC Version for 2.0 and 2.x branches
See original GitHub issueDescribe the bug The GitHub Action workflow https://github.com/opensearch-project/OpenSearch/blob/2.0.0-rc1/.github/workflows/version.yml doesn’t create Pull Requests to add new version number to “Version.java” and .ci/bwcVersions for 2.0 and 2.x branches.
Take adding version number 1.3.3 for example, it only create PRs for main, 1.x and 1.3 version: https://github.com/opensearch-project/OpenSearch/search?q=[AUTO]+1.3.3&type=issues The situation is the same when adding version number 1.3.2: https://github.com/opensearch-project/OpenSearch/search?q=[AUTO]+1.3.2&type=issues
Gradle check will fail for changes to 2.0 and 2.x branches, if not adding the new 1.x version to 2.x branches. For exmaple: https://github.com/opensearch-project/OpenSearch/pull/3208#issuecomment-1119174272
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':distribution:bwc:bugfix:buildBwcLinuxTar'.
> Building 1.3.2 didn't generate expected file /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/bugfix/build/bwc/checkout-1.3/distribution/archives/linux-tar/build/distributions/opensearch-min-1.3.2-SNAPSHOT-linux-x64.tar.gz
To Reproduce No need to reproduce: push a tag in the format of ..* https://github.com/opensearch-project/OpenSearch/blob/2.0.0-rc1/.github/workflows/version.yml#L6
Expected behavior Pull Request is created automatically to add new version number to 2.0 and 2.x branches.
Additional context The ‘Increment Version’ GHA workflow is introduced by PR https://github.com/opensearch-project/OpenSearch/pull/1816
Issue Analytics
- State:
- Created a year ago
- Comments:12 (9 by maintainers)
Top GitHub Comments
@reta Update: resolved if you dont use AL2/CentOS but only use Ubuntu.
Seems to be https://github.com/gradle/gradle/issues/20055