On 05/13/2018 06:19 AM, Matt Darfeuille wrote:
> Signed-off-by: Matt Darfeuille <matd...@gmail.com>
> ---
>  build/release | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/build/release b/build/release
> index 4d67783b..d85330b6 100755
> --- a/build/release
> +++ b/build/release
> @@ -307,7 +307,7 @@ elif [ -n "$CHECKOUT_BRANCH_NAME" ]; then
>      checkout_branch_func $WEBDIR $CHECKOUT_BRANCH_NAME
>  fi
>  
> -if ! grep "$VERSION" $WEBDIR/index.html; then
> +if ! grep "$VERSION" $WEBDIR/index.html > /dev/null 2>&1; then
>      fatal_error "File $WEBDIR/index.html does not contain \"${VERSION}\"."
>  fi
>  
> 

There is another wrinkle here. In index.html, I typically write
development releases as:

    a.b.c Beta n

and

    a.b.c RC n

I would like to continue to do that, if possible.

Thanks,
-Tom
-- 
Tom Eastep        \   Q: What do you get when you cross a mobster with
Shoreline,         \     an international standard?
Washington, USA     \ A: Someone who makes you an offer you can't
http://shorewall.org \   understand
                      \_______________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
Shorewall-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to