Skip to content

Commit

Permalink
Fix regexp in sed about the release name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Oct 13, 2023
1 parent e6ebdb7 commit 4569c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ echo "Date : "$1
echo "Version : "$2

echo "README.md"
sed -i "1 s/[.0-9-]\+$/$2/" README.md
sed -i "1 s/[a-z.0-9-]\+$/$2/" README.md

echo "lizmap/project.xml"
sed -i "s@<version date=\"[0-9-]\+\">[a-z.0-9-]\+</version>@<version date=\"$1\">$2</version>@g" lizmap/project.xml
Expand Down

0 comments on commit 4569c78

Please sign in to comment.