This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUMMARY: * make `magic-wand` version check robust TEST PLAN: runs on remote push. will be manually triggering NIGHTLY and RELEASE relative to this branch. ```bash andy@waldorf:~$ cat test.sh #!/bin/bash set -euo pipefail MAGIC_WAND=$(pip3 show nm-magic-wand-nightly | grep "Version" | cut -d' ' -f2) || echo "nightly not installed" if [ -z "$MAGIC_WAND" ]; then MAGIC_WAND=$(pip3 show nm-magic-wand | grep "Version" | cut -d' ' -f2) fi echo ${MAGIC_WAND} andy@waldorf:~$ ./test.sh WARNING: Package(s) not found: nm-magic-wand-nightly nightly not installed 0.2.2 andy@waldorf:~$ echo $? 0 ``` when "nightly" is installed ... ```bash andy@waldorf:~$ ./test.sh 0.2.2.20240520 ``` --------- Co-authored-by: andy-neuma <andy@neuralmagic.com>
- Loading branch information