stratis-storage / ci

To manage CI for various project repos.
0 stars 6 forks source link

Rewrite releasing scripts for packit compatibility #462

Closed mulkieran closed 11 months ago

mulkieran commented 11 months ago

Related https://github.com/stratis-storage/stratisd/issues/3216

bgurney-rh commented 11 months ago

There also seems to be an issue with create_artifacts when no suffix is specified: there is an extra ~ character at the end of the filename of each artifact file. Trying to build a source RPM failed, but I was able to bypass it with these renames in the "SOURCES" directory:

$ mv stratisd-3.6.0~.tar.gz stratisd-3.6.0.tar.gz
$ mv stratisd-3.6.0~-vendor.tar.gz stratisd-3.6.0-vendor.tar.gz
$ mv stratisd-3.6.0-.crate stratisd-3.6.0.crate

That resulted in successful source RPM builds, but I ran into a failure on the untar phase for the crate, because the top level directory in the tar file was named "stratisd-3.6.0~".