Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update-replica.sh for commit starting with digit #4042

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Dec 18, 2024

This PR fixes the update-replica.sh script to also support commits starting with a digit. Previously, the expression \1$SHA\2 where $SHA gets substituted for 3e24396441e4c7380928d4e8b4ccff7de77d0e7e (for instance) would be interpreted as \13 followed by e24396441e4c7380928d4e8b4ccff7de77d0e7e and \2 instead of \1 followed by e24396441e4c7380928d4e8b4ccff7de77d0e7e and \2.

The new perl command has been tested manually on Ubuntu 24.04.1 LTS and perl5 (revision 5 version 38 subversion 2).

@mraszyk mraszyk requested a review from a team as a code owner December 18, 2024 09:45
@mraszyk mraszyk merged commit 292b8eb into master Dec 18, 2024
34 checks passed
@mraszyk mraszyk deleted the mraszyk/fix-update-replica branch December 18, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants