Skip to content

Commit

Permalink
Git: filter: clean: Make version pattern stricter
Browse files Browse the repository at this point in the history
This avoid matching "..."

Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Oct 30, 2017
1 parent 0a448d8 commit e737cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/clean-version.bash
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ init(){
fi

sed\
's/[0-9]*\.[0-9]*\.[0-9]*[^)]*/@@WOEUSB_VERSION@@/'
's/[0-9]+\.[0-9]+\.[0-9]+[^)]*/@@WOEUSB_VERSION@@/'
exit 0
}; declare -fr init

Expand Down

0 comments on commit e737cb0

Please sign in to comment.