-
Notifications
You must be signed in to change notification settings - Fork 37.7k
gitian: fixed SC2001 regex #17680
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
gitian: fixed SC2001 regex #17680
Conversation
the `-` is not a special symbol and should not have `%` in front of it.
Why is SC2001 disabled? |
It isn't, but it seems that it didn't pick up our mistake and assumed @hebasto We need to fix the rest of them too... 17f81e9#diff-43ab305e977a53cc028bfb0eaaacf989 |
The rest are ok. |
When was this problem introduced? On releases, this renaming definitely works and a filename without |
#17361 8 days ago. There's gitian builds in PR but did not include codesigned gitian builds |
Sorry for introducing a bug. @willyko Thank you for fixing! From bash docs:
So this
does not work because
I don't think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK c966ff1
c966ff1 gitian: fixed SC2001 regex (willyk) Pull request description: Currently the gitian-win-signer.yml produces OUTFILE names without `-unsigned` stripped out This is due to regex having an`%` in front of it ``` $ INFILE="bitcoin-0.19.0-win64-setup-unsigned.exe" $ echo "${INFILE/%-unsigned}" bitcoin-0.19.0-win64-setup-unsigned.exe $ echo "${INFILE/-unsigned}" bitcoin-0.19.0-win64-setup.exe ``` Fixes #17361 ACKs for top commit: laanwj: ACK c966ff1 hebasto: ACK c966ff1 Tree-SHA512: 954547f9dfa4cab4def5f284d4837c21f0e6fed7454a04e83e6b1b7d3fd3f9661ea657047f0d8162f6591909d32ef2f72e801b2f3a44cbb1131ac344cb913a69
gitian: fixed SC2001 regex bitcoin#17680
c966ff1 gitian: fixed SC2001 regex (willyk) Pull request description: Currently the gitian-win-signer.yml produces OUTFILE names without `-unsigned` stripped out This is due to regex having an`%` in front of it ``` $ INFILE="bitcoin-0.19.0-win64-setup-unsigned.exe" $ echo "${INFILE/%-unsigned}" bitcoin-0.19.0-win64-setup-unsigned.exe $ echo "${INFILE/-unsigned}" bitcoin-0.19.0-win64-setup.exe ``` Fixes bitcoin#17361 ACKs for top commit: laanwj: ACK c966ff1 hebasto: ACK c966ff1 Tree-SHA512: 954547f9dfa4cab4def5f284d4837c21f0e6fed7454a04e83e6b1b7d3fd3f9661ea657047f0d8162f6591909d32ef2f72e801b2f3a44cbb1131ac344cb913a69
c966ff1 gitian: fixed SC2001 regex (willyk) Pull request description: Currently the gitian-win-signer.yml produces OUTFILE names without `-unsigned` stripped out This is due to regex having an`%` in front of it ``` $ INFILE="bitcoin-0.19.0-win64-setup-unsigned.exe" $ echo "${INFILE/%-unsigned}" bitcoin-0.19.0-win64-setup-unsigned.exe $ echo "${INFILE/-unsigned}" bitcoin-0.19.0-win64-setup.exe ``` Fixes bitcoin#17361 ACKs for top commit: laanwj: ACK c966ff1 hebasto: ACK c966ff1 Tree-SHA512: 954547f9dfa4cab4def5f284d4837c21f0e6fed7454a04e83e6b1b7d3fd3f9661ea657047f0d8162f6591909d32ef2f72e801b2f3a44cbb1131ac344cb913a69
Currently the gitian-win-signer.yml produces OUTFILE names without
-unsigned
stripped outThis is due to regex having an
%
in front of itFixes #17361