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

cz bump - Overwrites my cz.yaml emoji #1164

Open
syepes opened this issue Jun 20, 2024 · 1 comment
Open

cz bump - Overwrites my cz.yaml emoji #1164

syepes opened this issue Jun 20, 2024 · 1 comment

Comments

@syepes
Copy link

syepes commented Jun 20, 2024

Description

When I run a cz bump it overwrites my config file .cz.yaml and changes all my emojis to there \U* equivalents

Steps to reproduce

  1. .cz.yaml File with any link of 🚀
  2. cz bump --increment PATCH
  3. look at the file .cz.yaml 🚀 can been converted to \U0001F680

Current behavior

it's changing all the emojis

Desired behavior

Leave the emojis untouched

Screenshots

Before bump
CleanShot 2024-06-20 at 3  28 14@2x

After bump
CleanShot 2024-06-20 at 3  26 49@2x

Environment

# cz version                            
3.27.0

# python3 -V
Python 3.12.3

# python3 -c "import platform;print(platform.system())"
Darwin
@Lee-W
Copy link
Member

Lee-W commented Aug 11, 2024

I "guess" this might be something related to encoding or the lib yaml. But could you please share the config you're using in text for us to try to reproduce? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants