SCRIPTS: create-release: no more need to skip architecture.txt

Now that it's gone we won't stumble upon it by accident anymore.
This commit is contained in:
Willy Tarreau 2024-07-10 15:31:26 +02:00
parent 95b9d8abee
commit d96b9f4249
1 changed files with 1 additions and 2 deletions

View File

@ -181,10 +181,9 @@ echo "Updating VERDATE ..."
echo '$Format:%ci$' > VERDATE echo '$Format:%ci$' > VERDATE
echo "$DATE" >> VERDATE echo "$DATE" >> VERDATE
# updating branch and date in all modified doc files except the outdated architecture.txt # updating branch and date in all modified doc files
for file in doc/intro.txt doc/configuration.txt doc/management.txt $(git diff --name-only v${OLD}.. -- doc); do for file in doc/intro.txt doc/configuration.txt doc/management.txt $(git diff --name-only v${OLD}.. -- doc); do
if [ ! -e "$file" ]; then continue; fi if [ ! -e "$file" ]; then continue; fi
if [ "$file" = doc/architecture.txt ]; then continue; fi
echo "Updating $file ..." echo "Updating $file ..."
sed -e "1,10s:\(\sversion\s\).*:\1$BRANCH:" \ sed -e "1,10s:\(\sversion\s\).*:\1$BRANCH:" \
-e "1,10s:\(\s\)\(20[0-9]\{2\}/[0-9]\{1,2\}/[0-9]\{1,2\}\):\1$DATE:" \ -e "1,10s:\(\s\)\(20[0-9]\{2\}/[0-9]\{1,2\}/[0-9]\{1,2\}\):\1$DATE:" \