Skip to content

Installer is broken #2583

Description

@nwalters512

See a failed Actions run here: https://github.com/PrairieLearn/PrairieLearn/actions/runs/16679272304/job/47213652964

Relevant output:

exec: mv /tmp/tmp.ctGFw7l8Su/026ce739a879a829/release-info.json.inprogress /tmp/tmp.ctGFw7l8Su/026ce739a879a829/release-info.json
log: installing standalone release d2-0.7.0-linux-amd64.tar.gz from github
exec: cat "$RELEASE_INFO" | grep -n "$ARCHIVE" | cut -d: -f1 | head -n1
exec: sed -n $((asset_line-3))p "$RELEASE_INFO" | sed "s/^.*: \"\(.*\)\",$/\1/g"
sed: invalid option -- '3'

I had thought #2581 would be relevant, but the specific sed command in the output above doesn't seem to be directly related.

This is reproducible in an ubuntu docker container:

docker run --rm -it ubuntu

# In the container...
apt-get -y update; apt-get -y install curl
curl -fsSL https://d2lang.com/install.sh | sh -s --

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions