Skip to content

feat: add installation scripts#370

Merged
andrius-puksta-sensmetry merged 3 commits into
sensmetry:mainfrom
consideRatio:pr/test-install-script
Jun 1, 2026
Merged

feat: add installation scripts#370
andrius-puksta-sensmetry merged 3 commits into
sensmetry:mainfrom
consideRatio:pr/test-install-script

Conversation

@consideRatio
Copy link
Copy Markdown
Collaborator

@consideRatio consideRatio commented May 31, 2026

Add inspectable Unix and Windows install scripts, document cautious
and convenience install paths, and add a workflow that tests the
scripts against fake release archives.

Signed-off-by: Erik Sundell erik.sundell@sensmetry.com


I think it could be fine to put this higher up in the docs about installation, but figured its freshly introduced and not tested properly yet, so it could be better left below other install options for now.

I'm looking land this tomorrow and write trusted publishing docs with examples making use of it in CI context.

Instead of providing this example, it would become:

      - name: Install sysand
        run: |
          ARCH=$(uname -m | sed 's/aarch64/arm64/')
          SYSAND_VERSION=$(
            curl -fsSL https://api.github.com/repos/sensmetry/sysand/releases \
              | awk -F'"' '/"tag_name":/ { tag=$4 } /"prerelease": true/ && !found { found=tag } END { if (found) print found }'
          )
          SYSAND_ARCHIVE="sysand-linux-${ARCH}.tar.xz"
          curl -fsSL "https://github.com/sensmetry/sysand/releases/download/${SYSAND_VERSION}/sysand-linux-${ARCH}.tar.xz" \
            | tar -xJ sysand
          install -m 0755 sysand /usr/local/bin/sysand
          sysand --version
      - name: Install sysand
        run: |
          curl -fsSL https://client.sysand.com/install.sh | sh

@consideRatio consideRatio force-pushed the pr/test-install-script branch 4 times, most recently from af8ef33 to 7beb349 Compare May 31, 2026 20:00
@consideRatio consideRatio changed the title feat: add install scripts feat: add installation scripts May 31, 2026
@consideRatio consideRatio reopened this Jun 1, 2026
Add inspectable Unix and Windows install scripts, document cautious
and convenience install paths, and add a workflow that tests the
scripts against fake release archives.

Signed-off-by: Erik Sundell <erik.sundell@sensmetry.com>
@consideRatio consideRatio force-pushed the pr/test-install-script branch from 7beb349 to d9b7d52 Compare June 1, 2026 06:09
@consideRatio
Copy link
Copy Markdown
Collaborator Author

Rebased and force-pushed.

Comment thread .github/workflows/test-install-script.yml Outdated
Comment thread docs/src/install.ps1 Outdated
Signed-off-by: Erik Sundell <erik.sundell@sensmetry.com>
Comment thread docs/src/install.sh Outdated
Co-authored-by: Andrius Pukšta <andrius.puksta@sensmetry.com>
Signed-off-by: Erik Sundell <erik.i.sundell@gmail.com>
@andrius-puksta-sensmetry andrius-puksta-sensmetry merged commit b20817a into sensmetry:main Jun 1, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide installer scripts (.sh / .ps1)

2 participants