diff --git a/.github/workflows/compare_versions.sh b/.github/workflows/compare_versions.sh index 947d20c..b33a42d 100644 --- a/.github/workflows/compare_versions.sh +++ b/.github/workflows/compare_versions.sh @@ -1,13 +1,13 @@ some_failure=false -for i in "hipscat" "hipscat-import" "lsdb" +for package_name in "hipscat" "hipscat-import" "lsdb" do - echo "Finding version numbers for $i" + echo "Finding version numbers for $package_name" - conda_version=$(conda search -c conda-forge $1 | tail -n1 | awk '{print $2}') + conda_version=$(conda search -c conda-forge $package_name | tail -n1 | awk '{print $2}') echo "conda version=$conda_version" - pypi_version=$(get_pypi_latest_version $1) + pypi_version=$(get_pypi_latest_version $package_name) echo "pypi version=$pypi_version" if ["$conda_version" != "$pypi_version"]