a
Push to main / Reset-Version-Tag (push) Successful in 6s

This commit is contained in:
2026-05-14 12:54:56 -06:00
parent 5500a17875
commit ebd583a822
3 changed files with 42 additions and 38 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
config_template='
[distutils]
index-servers = repo
[repo]
repository = {repository}
username = {username}
password = {password}
'
# Replace placeholders with environment variables
config_output=$(echo "$config_template" | \
sed -e "s/{repository}/$PYPI_REPO_DOMAIN/g" \
-e "s/{username}/$PYPI_REPO_USER/g" \
-e "s/{password}/$PYPI_REPO_PASS/g")
echo "$config_output" > "$HOME/.pypirc"