[cci_eol] da9918340 circleci: Avoid dashes in package version numbers

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Jun 20 17:03:05 UTC 2024


commit da99183401713af8ecdde3c930a3943d705458a0
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 bbcb42847..185e76fe2 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -83,7 +83,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