File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,11 @@ echo "Updating $pre_commit_hook"
54
54
sed_ " s/entry: docker\\ .io\\ /rhysd\\ /actionlint:.*/entry: docker.io\\ /rhysd\\ /actionlint:${version} /" " $pre_commit_hook "
55
55
56
56
echo " Updating $usage_doc "
57
- sed_ " s/ rev: v[0-9]+\.[0-9]+\.[0-9]+/ rev: v${version} /" " $usage_doc "
58
- sed_ " s/actionlint@[0-9]+\.[0-9]+\.[0-9]+/actionlint@${version} /g" " $usage_doc "
59
- sed_ " s/\` actionlint:[0-9]+\.[0-9]+\.[0-9]+\` /\` actionlint:${version} \` /g" " $usage_doc "
57
+ sed_ " \
58
+ s/ rev: v[0-9]+\.[0-9]+\.[0-9]+/ rev: v${version} /; \
59
+ s/ actionlint@[0-9]+\.[0-9]+\.[0-9]+/ actionlint@${version} /g; \
60
+ s/\` actionlint:[0-9]+\.[0-9]+\.[0-9]+\` /\` actionlint:${version} \` /g; \
61
+ " " $usage_doc "
60
62
61
63
echo ' Creating a version bump commit and a version tag'
62
64
git add " $pre_commit_hook " " $usage_doc "
You can’t perform that action at this time.
0 commit comments