make bundle install produces a latest version of ZIP plugin (eg. python3-job-type-2.11.1.zip) and uploads it to a local Racetrack instance.
However, if I change the version of a plugin and run that command again it will produce the other ZIP file (with different name) and racetrack plugin install *.zip will fail cause *.zip will be resolved by shell into 2 filenames.
Proposed Solution
Let's add --out-filename parameter to racetrack CLI plugin bundler, which will solve this issue by doing:
When automating plugins development, very often we do something like this:
make bundle install
produces a latest version of ZIP plugin (eg.python3-job-type-2.11.1.zip
) and uploads it to a local Racetrack instance.However, if I change the version of a plugin and run that command again it will produce the other ZIP file (with different name) and
racetrack plugin install *.zip
will fail cause*.zip
will be resolved by shell into 2 filenames.Proposed Solution
Let's add
--out-filename
parameter to racetrack CLI plugin bundler, which will solve this issue by doing:Apart from generating versioned filename
python3-job-type-2.11.1.zip
, it will also spit outlatest.zip
alias, ready to be installed by script.