Skip to content

Commit

Permalink
ci: fix make-release.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha committed Jun 6, 2024
1 parent 84673c8 commit ed3409d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/scripts/release/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,15 @@ releaseEditorsDefinitions() {
git commit -m "ci: Release editors definitions to $RELEASE" --signoff
}

removeYamlDiffs() {
echo "[INFO] removal *.yaml.diff files"
BUNDLE_PATH=$(make bundle-path CHANNEL=stable)
rm "${BUNDLE_PATH}"/manifests/*.yaml.diff

git add "${BUNDLE_PATH}"
git commit -m "ci: removal *.yaml.diff files" --signoff
}

updateVersionFile() {
echo "[INFO] updating version.go file"
# change version/version.go file
Expand Down Expand Up @@ -301,6 +310,7 @@ run() {
fi

checkoutToReleaseBranch
removeYamlDiffs
updateVersionFile
releaseEditorsDefinitions
releaseOperatorCode
Expand Down

0 comments on commit ed3409d

Please sign in to comment.