Skip to content

Commit

Permalink
Fix perltidy dependency update
Browse files Browse the repository at this point in the history
I forgot to add the dot to the `sed` line.
  • Loading branch information
perlpunk committed Oct 2, 2023
1 parent 759eb2e commit f46d00f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ on 'test' => sub {
};

on 'devel' => sub {
requires 'Perl::Tidy', '== 20230912.0.0.0.0';
requires 'Perl::Tidy', '== 20230912.0.0';

};

Expand Down
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ devel_no_selenium_requires:
sudo:
tar:
xorg-x11-fonts:
perl(Perl::Tidy): '== 20230912.0.0.0.0'
perl(Perl::Tidy): '== 20230912.0.0'

devel_requires:
'%devel_no_selenium_requires':
Expand Down
2 changes: 1 addition & 1 deletion tools/ci/build_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ comm -13 "$DEPS_BEFORE" "$DEPS_AFTER" > "$CI_PACKAGES"
# let's tidy if Tidy version changes
newtidyver="$(git diff "$CI_PACKAGES" | grep perl-Perl-Tidy | grep '^+' | grep -o '[0-9.]*' || :)"
[ -z "$newtidyver" ] || {
sed -i -e "s/\(Perl::Tidy):\s\+'==\s\)\([0-9]\+\)\(.*\)/\1$newtidyver\3/g" dependencies.yaml
sed -i -e "s/\(Perl::Tidy):\s\+'==\s\)\([0-9.]\+\)\(.*\)/\1$newtidyver\3/g" dependencies.yaml
make update-deps
tools/tidy
}

0 comments on commit f46d00f

Please sign in to comment.