@leverege/build-tools 2.53.0 → 2.53.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/refresh-py-idx.sh +2 -2
package/package.json
CHANGED
package/src/refresh-py-idx.sh
CHANGED
|
@@ -28,7 +28,7 @@ echo "$PYPIRC_CONTENT" > "$HOME/.pypirc"
|
|
|
28
28
|
echo "Updated ~/.pypirc"
|
|
29
29
|
|
|
30
30
|
# Escape for sed
|
|
31
|
-
UV_EXTRA_INDEX_URL="https://
|
|
31
|
+
UV_EXTRA_INDEX_URL="https://oauth2accesstoken:${TOKEN}@us-python.pkg.dev/leverege-registry/leverege-python-packages/simple"
|
|
32
32
|
|
|
33
33
|
SHELLS=("bash" "dash" "zsh" "fish")
|
|
34
34
|
|
|
@@ -57,7 +57,7 @@ for shell in "${SHELLS[@]}"; do
|
|
|
57
57
|
|
|
58
58
|
if [ -f "$CONFIG_FILE" ]; then
|
|
59
59
|
if grep -q "export UV_EXTRA_INDEX_URL=" "$CONFIG_FILE"; then
|
|
60
|
-
sed -i "s|export UV_EXTRA_INDEX_URL=.*|export UV_EXTRA_INDEX_URL=${UV_EXTRA_INDEX_URL}|" "$CONFIG_FILE"
|
|
60
|
+
sed -i '' "s|export UV_EXTRA_INDEX_URL=.*|export UV_EXTRA_INDEX_URL=${UV_EXTRA_INDEX_URL}|" "$CONFIG_FILE"
|
|
61
61
|
else
|
|
62
62
|
echo -e "\nexport UV_EXTRA_INDEX_URL=${UV_EXTRA_INDEX_URL}\n" >> "$CONFIG_FILE"
|
|
63
63
|
fi
|