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:18 -0300 |
commit | defa7cab713cbaad911d6cd85f1e1dae33a0898b (patch) | |
tree | 487c390e19a253184af04b157dbc3e97647f3188 /tools/builder_defaults.sh | |
parent | 42eda7516dfe8ed7cea4b6853b74b802a52d4965 (diff) | |
download | pfsense-defa7cab713cbaad911d6cd85f1e1dae33a0898b.zip pfsense-defa7cab713cbaad911d6cd85f1e1dae33a0898b.tar.gz |
Fix pkg repo name for tags
Diffstat (limited to 'tools/builder_defaults.sh')
-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 6e80123..abac096 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -138,7 +138,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,/[^/]*$,,') |