Skip to content

Commit

Permalink
PMM-7 fix the branch names containing forward slashes (#2835)
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff authored Feb 21, 2024
1 parent 5818f94 commit d2227cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/scripts/vars
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ pmm_branch=$(git rev-parse --abbrev-ref HEAD)

pmm_base_version=$(cat ${root_dir}/VERSION)
full_pmm_version=${pmm_base_version}-${pmm_branch}-$(git rev-parse --short HEAD)
# Replace '/' with '-' to prevent sed from failing on dependabot-authored PRs
full_pmm_version=${full_pmm_version//\//-}

# TODO Maybe it makes sense to use variable from job here
if [[ ${pmm_branch} =~ release-* || \
Expand Down

0 comments on commit d2227cd

Please sign in to comment.