[6.0] 62fdc0986 circleci: Avoid dashes in package version numbers

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Fri Jun 21 13:43:13 UTC 2024


commit 62fdc09865e1c87503ceccd3fa34cc61298e2265
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Jun 20 19:01:12 2024 +0200

    circleci: Avoid dashes in package version numbers
    
    This wouldn't trigger on the master branch on account of having the
    version trunk.

diff --git a/.circleci/config.yml b/.circleci/config.yml
index e473336f3..9476ca00d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -82,7 +82,7 @@ jobs:
                   if grep 'AC_INIT.*trunk.*' ./configure.ac; then
                       sed -i -e "s/AC_INIT(\[\(.*\)\],\s*\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1],[$(date +%Y%m%d)],[\3])/" ./configure.ac
                   else
-                      sed -i -e "s/AC_INIT(\[\(.*\)\],\s*\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1],[\2-$(date +%Y%m%d)],[\3])/" ./configure.ac
+                      sed -i -e "s/AC_INIT(\[\(.*\)\],\s*\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1],[\2.$(date +%Y%m%d)],[\3])/" ./configure.ac
                   fi
                   ./autogen.des
                   make dist -j 16


More information about the varnish-commit mailing list