diff options
author | Renato Botelho <renato@netgate.com> | 2016-07-26 16:21:10 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-07-26 16:21:24 -0300 |
commit | 54b84a3bcdc56006a36d508335f9094037a891e4 (patch) | |
tree | 879a2a5945917f2a6530b90f0c0a15d9f4b7de0e | |
parent | 3437fab0cfe55b179e33ef5436a01850c224442c (diff) | |
download | pfsense-54b84a3bcdc56006a36d508335f9094037a891e4.zip pfsense-54b84a3bcdc56006a36d508335f9094037a891e4.tar.gz |
Fix pkg repo name for tags
-rw-r--r-- | tools/builder_defaults.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh index 23d3e78..01a4074 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -106,7 +106,8 @@ else export GIT_REPO_BRANCH_OR_TAG="${_cur_git_repo_branch_or_tag}" fi # Use vX_Y instead of RELENG_X_Y for poudriere to make it shorter -POUDRIERE_BRANCH=$(echo "${GIT_REPO_BRANCH_OR_TAG}" | sed 's,RELENG_,v,') +# Replace . by _ to make tag names look correct +POUDRIERE_BRANCH=$(echo "${GIT_REPO_BRANCH_OR_TAG}" | sed 's,RELENG_,v,; s,\.,_,g') GIT_REPO_BASE=$(git -C ${BUILDER_ROOT} config --get remote.origin.url | sed -e 's,/[^/]*$,,') |