Skip to content

Commit

Permalink
Fix for only adding modified files in release-notes-check compile script
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Shien <[email protected]>
  • Loading branch information
bshien committed Aug 7, 2024
1 parent 0fc305d commit 096eae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/release-workflows/release-notes-check.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pipeline {
def status = sh(returnStdout: true, script: 'git status --porcelain')
if (status) {
sh """
git status --porcelain | grep '^ M' | cut -d " " -f3 | xargs git add
git add .
git commit -sm "Add consolidated release notes for ${params.RELEASE_VERSION}"
git push origin release-notes --force
gh pr create --title 'Add consolidated release notes for ${params.RELEASE_VERSION}' --body 'Add consolidated release notes for ${params.RELEASE_VERSION}' -H release-notes -B main
Expand Down

0 comments on commit 096eae1

Please sign in to comment.