kcl-lang.io/kpm@v0.8.7-0.20240520061008-9fc4c5efc8c7/scripts/e2e_prepare.sh (about) 1 #!/bin/bash 2 3 # Check kpm version 4 version=$(./bin/kpm --version) 5 if ! echo "$version" | grep -q "kpm version test_version"; then 6 echo "Incorrect version: '$version'." 7 exit 1 8 fi 9 10 # pull the package 'k8s' from 'ghcr.io/kcl-lang/k8s' 11 ./scripts/pull_pkg.sh 12 13 # push the package 'k8s' to 'localhost:5001/test' 14 ./scripts/push_pkg.sh