Skip to content

Generate artifacts for crates without official releases.

License

Notifications You must be signed in to change notification settings

JADSN1894/carginstall

Repository files navigation

carginstall

Generate artifacts for crates without official releases.

Usage

CURRENT_REPO="JADSN1894/carginstall"
CURRENT_VERSION=$(gh --repo $CURRENT_REPO release view --json tagName --jq .tagName)
DOWNLOADED_FILES=$(gh --repo $CURRENT_REPO release view --json assets --jq '.assets[] | select(.name) .name')
for DOWNLOADED_FILE in $DOWNLOADED_FILES; do
    gh --repo $CURRENT_REPO release download $CURRENT_VERSION --pattern "$DOWNLOADED_FILE"
    chmod +x "$DOWNLOADED_FILE"
done

About

Generate artifacts for crates without official releases.

Resources

License

Stars

Watchers

Forks

Packages

No packages published