On Tue, Feb 20, 2018 at 3:33 PM,  <drugg...@apache.org> wrote:
> Author: druggeri
> Date: Tue Feb 20 14:33:38 2018
> New Revision: 1824887
>
> URL: http://svn.apache.org/viewvc?rev=1824887&view=rev
> Log:
> Add some additional convenience tooling
>
> Added:
[]
>     httpd/site/trunk/tools/tag.sh   (with props)
[]
>
> Added: httpd/site/trunk/tools/tag.sh
> URL: 
> http://svn.apache.org/viewvc/httpd/site/trunk/tools/tag.sh?rev=1824887&view=auto
> ==============================================================================
> --- httpd/site/trunk/tools/tag.sh (added)
> +++ httpd/site/trunk/tools/tag.sh Tue Feb 20 14:33:38 2018
[]
> +
> +cd "$src_dir"
> +#    Set AP_SERVER_DEVBUILD_BOOLEAN to 0 in include/ap_release.h.
> +perl -pi -e 's/(#define\s+AP_SERVER_DEVBUILD_BOOLEAN\s+)\d/${1}0/g' 
> include/ap_release.h
> +svn commit -m "Get ready to tag httpd $version"
> +
> +
> +#    Create an official X.Y.Z tag based on the candidate tree.
> +svn copy "$src_dir" "$tags_dir/$version"

Could we use remote urls here to avoid local modifications mixture?
Eg.: svn copy ^/httpd/httpd/branches/$branch ^/httpd/httpd/tags/$version
The tag shouldn't (possibly) include anything not in the branch.

Regards,
Yann.

Reply via email to