-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deploying blockfrost-platform with
|
Latest commit: |
994ae43
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8dafdd9c.blockfrost-platform.pages.dev |
Branch Preview URL: | https://feat-installers.blockfrost-platform.pages.dev |
9636a8a
to
8eea20c
Compare
mmahut
approved these changes
Feb 2, 2025
vladimirvolek
approved these changes
Feb 2, 2025
This was referenced Feb 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 systemPATH
, so that you can runblockfrost-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.bz2
s – 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:
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
baseUrl
to this repoblockfrost/blockfrost-platform
.michalrus-bot
toblockfrost-bot
– we just need to generate a Personal Access Token, and substitute it in repo’s secrets. + Test thatblockfrost-bot
PAT has correct access – from Michal's repo first.blockfrost-bot
for ourhomebrew-tap
updates #142