axodotdev / cargo-dist

📦 shippable application packaging
https://axodotdev.github.io/cargo-dist/
Apache License 2.0
1.31k stars 56 forks source link

fix: pass correct path to generic builds #1157

Closed mistydemeo closed 1 week ago

mistydemeo commented 1 week ago

Prior to this, generic builds were being passed the manifest_path, which is the path to the manifest file - not the directory containing the manifest. This caussed the current_dir part of the command to error out during the chdir that came before the actual command invocation.