uktrade / stream-zip

Python function to construct a ZIP archive on the fly
https://stream-zip.docs.trade.gov.uk/
MIT License
101 stars 9 forks source link

ci: release process now includes a file with the source, but modified with correct version #137

Closed michalc closed 1 month ago

michalc commented 1 month ago

The source does not actually include the correct release version to avoid having to change the source code based on the current or next version. While this is maybe odd, it makes releasing quite easy. However, as https://github.com/uktrade/stream-zip/issues/136 this makes it slightly harder to release for Debian.

So we make a version of the source code that has the correct release version, and add it to the GitHub release. This makes it so any tinkering with versions is just done in this repository.

Bumping the checkout version just by the by