Skip to content

Commit

Permalink
[skip ci] test
Browse files Browse the repository at this point in the history
  • Loading branch information
orouz committed May 29, 2024
1 parent 70663dd commit 5808726
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
# bump_cloudbeat.sh will create multiple PRs with different HEAD branches
run: scripts/bump_cloudbeat.sh

- name: Bump Cloud Security Posture Integration
# we need to run bump_integration.sh from the main branch
run: git checkout origin/main && scripts/bump_integration.sh
# - name: Bump Cloud Security Posture Integration
# # we need to run bump_integration.sh from the main branch
# run: git checkout origin/main && scripts/bump_integration.sh
8 changes: 6 additions & 2 deletions scripts/bump_cloudbeat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ create_cloudbeat_versions_pr_for_main() {
cat <<EOF >cloudbeat_pr_body
Bump cloudbeat version - \`$NEXT_CLOUDBEAT_VERSION\`
git status
EOF
pr_url="$(gh pr create --title "Bump cloudbeat version" \
--body-file cloudbeat_pr_body \
Expand All @@ -102,6 +104,7 @@ EOF
# shellcheck disable=SC2086
echo "[Cloudbeat Version PR to main]($pr_url)" >>$GITHUB_STEP_SUMMARY
rm -rf cloudbeat_pr_body
git status
}

create_cloudbeat_versions_pr_for_release() {
Expand Down Expand Up @@ -149,6 +152,7 @@ EOF
echo "[Cloudbeat Hermit PR]($pr_url)" >>$GITHUB_STEP_SUMMARY
rm -rf hermit_pr_body
fi
git status
}

upload_cloud_formation_templates() {
Expand Down Expand Up @@ -199,8 +203,8 @@ run_version_changes_for_release_branch() {
fi

# upload cloud formation templates for the release version
upload_cloud_formation_templates
# upload_cloud_formation_templates
}

run_version_changes_for_main
run_version_changes_for_release_branch
# run_version_changes_for_release_branch

0 comments on commit 5808726

Please sign in to comment.