Skip to content

Commit

Permalink
Add changes
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Jan 31, 2025
1 parent 0ebbb11 commit c172b36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ pipeline {
def existingComponent = existingManifest.components.find { it.name == componentName.name }
if (existingComponent) {
def branchRef = RELEASE_VERSION.split('\\.')[0..1].join('.')

existingComponent.ref = "'" + branchRef + "'"
}
}
Expand Down Expand Up @@ -220,6 +219,7 @@ pipeline {
def status = sh(returnStdout: true, script: 'git status --porcelain')
if (status) {
sh """
git diff manifests/2.19.0/opensearch-2.19.0.yml
git status --porcelain | grep '^ M' | cut -d " " -f3 | xargs git add
git commit -sm "Manifest Commit Lock for Release ${params.RELEASE_VERSION}"
git push origin manifest-lock --force
Expand Down

0 comments on commit c172b36

Please sign in to comment.