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: fix creating .tar.gz of source but versioned #138

Closed michalc closed 1 month ago

michalc commented 1 month ago

Getting an error from GitHub actions:

tar: .: file changed as we read it

Which might be because the archive .tar.gz is being created in the directory being archived. Creating the file first and then excluding it should sort this.