File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,13 +58,12 @@ jobs:
5858 bundle_version=$(echo "$latest_release_bundle_json_data" | jq -r '.release_bundle_version')
5959 echo bundle_version="$bundle_version" >> "$GITHUB_OUTPUT"
6060
61- if [[ -z "$JFROG_EXPECTED_RELEASE_BUNDLE_TAG" ]]; then
62- exit 0
61+ if [[ -n "$JFROG_EXPECTED_RELEASE_BUNDLE_TAG" ]]; then
62+ # Validate release bundle tag
63+ bundle_tag=$(echo "$latest_release_bundle_json_data" | jq -r '.tag')
64+ test "$bundle_tag" = "$JFROG_EXPECTED_RELEASE_BUNDLE_TAG"
6365 fi
6466
65- # Validate release bundle tag
66- bundle_tag=$(echo "$latest_release_bundle_json_data" | jq -r '.tag')
67- test "$bundle_tag" = "$JFROG_EXPECTED_RELEASE_BUNDLE_TAG"
6867 echo bundle_tag="$bundle_tag" >> "$GITHUB_OUTPUT"
6968 env :
7069 JFROG_PROJECT : ${{ vars.JFROG_PROJECT_FOR_CLIENT_TEAM }}
You can’t perform that action at this time.
0 commit comments