Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add installers for all platforms #141

Merged
merged 9 commits into from
Feb 2, 2025
Merged

Conversation

michalrus
Copy link
Member

@michalrus michalrus commented Jan 30, 2025

Resolves #104

Pre-pre-release: michalrus/bfp-release-testing/releases/tag/0.0.1.

How to install

Windows

In the link on top, you can see there are two Windows artifacts:

  • Either a setup.exe which does everything for you, including setting up system PATH, so that you can run blockfrost-platform.exe from anywhere.

  • Or a more manual .zip, without any installation.

Linux

  • There's a .tar.bz2, which you can unpack yourself, and run ./bin/blockfrost-platform.

  • And a curl-bash-install.sh which consumes that .tar.bz2, and you use it by running:

    curl -fsSL https://github.com/michalrus/bfp-release-testing/releases/latest/download/curl-bash-install.sh | bash

    It also tries to set up PATH, and gives the user instructions if it fails.

macOS (both architectures)

  • There are 2 .tar.bz2s – one for each architecture.

  • You can also use the curl-bash script above — it’s working even on Catalina (10.15.x).

  • Or our Homebrew tap, which the release workflow also updates:

    brew install blockfrost/tap/blockfrost-platform

How to release

Right now, the workflow is triggered either by creating a release (or a pre-release), or manually (workflow_dispatch:) – in both cases it has to be run from a Git tag.

We can think about adding other triggers, e.g. simply pushing a tag. It would then create the release on its own, but maybe that would be too automated, and it's better to have a human look at everything first.

I haven’t yet run it on our repo, but I have the same workflow in my own temporary repository.

Here's a release of blockfrost-platform published there – michalrus/bfp-release-testing/releases/tag/0.0.1.

To-dos

@michalrus michalrus self-assigned this Jan 30, 2025
Copy link

cloudflare-workers-and-pages bot commented Jan 30, 2025

Deploying blockfrost-platform with  Cloudflare Pages  Cloudflare Pages

Latest commit: 994ae43
Status: ✅  Deploy successful!
Preview URL: https://8dafdd9c.blockfrost-platform.pages.dev
Branch Preview URL: https://feat-installers.blockfrost-platform.pages.dev

View logs

@michalrus michalrus force-pushed the feat/installers branch 2 times, most recently from 9636a8a to 8eea20c Compare January 30, 2025 16:01
@michalrus michalrus marked this pull request as ready for review January 31, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installers (or install scripts) for all platforms
3 participants