[Bug]: bug with release_notes.rs:64
Exorcism0666 opened this issue · comments
Exorcism commented
Is there an existing issue for this?
- I have searched the existing issues
What happened?
All logs: https://github.com/Exorcism0666/AutoPublish/actions/runs/7904063137/job/21573453852
Russell Banks commented
Thanks for reporting! This is because I do a check on the last two characters, but I was checking the last two bytes rather than characters. This is fine most of the time, unless the last two characters take up more than two bytes, like emojis or non-US-ASCII characters.