adafruit / circuitpython-build-tools

Build scripts for CircuitPython libraries and the bundle
MIT License
28 stars 18 forks source link

Update version string #92

Closed tekktrik closed 2 years ago

tekktrik commented 2 years ago

Updating the version string to be PEP 440 compliant!

tekktrik commented 2 years ago

This will need a simultaneous update to the libraries for changing their versions

Please APPROVE BUT DO NOT MERGE

Thanks!

tekktrik commented 2 years ago

Could you explain what you mean? Is a second replace needed?

tannewt commented 2 years ago

Instead of deleting line = line.replace("0.0.0-auto.0", library_version) just add the new version. That way this tooling will work for repos that have been updated and those that haven't. That way you can merge and release this now instead of needing to wait.

tekktrik commented 2 years ago

Are you saying replace both 0.0.0-auto.0 and 0.0.0+auto.0 to version? I think I follow now.