Skip to content

Instantly share code, notes, and snippets.

View pierluigi's full-sized avatar
🌏
Powered by 🍜 ramen, 🎹 synthesizers, 🌴 traveling and 👨🏻‍💻 coding

Pierluigi Cau (PG) pierluigi

🌏
Powered by 🍜 ramen, 🎹 synthesizers, 🌴 traveling and 👨🏻‍💻 coding
View GitHub Profile
@jonico
jonico / delete-all-package-versions.sh
Last active May 5, 2021 00:26
Delete all package versions of a package of certain GitHub repository
#!/bin/bash
# Script that works to delete private packages stored on Github Packages
#
# Script is based on the work of Troy Fontaine (github.com/troyfontaine)
GITHUB_TOKEN=$GPR_PAT
REPO_OWNER=$1
REPO_NAME=$2
PACKAGE_NAME=$3