Minor tweaks to RedHat release script
@@ -25,7 +25,7 @@ redhat_tag=${3-$version}
build_branch="redhat-project"
update_dockerfile() {
- sed --in-place='' --regexp-extended -e "s/[4-9]+\.[0-9]+\.[0-9]+/$version/g" Dockerfile.rhel
+ sed -i '' -E -e "s/[4-9]+\.[0-9]+\.[0-9]+/$version/g" Dockerfile.rhel
}
# Reset the ${build_branch} branch to the specified version's tag and ensure the
@@ -44,7 +44,6 @@ update_branch() {
git push -f origin ${build_branch}
popd
- git worktree remove /tmp/redhat-project
}
trigger_build() {
