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

Automate upload car for releases #39

Merged
merged 11 commits into from
Jul 15, 2024
Merged

Automate upload car for releases #39

merged 11 commits into from
Jul 15, 2024

Conversation

elliotBraem
Copy link
Contributor

@elliotBraem elliotBraem commented Jul 11, 2024

Following a suggestion here

This introduces script, and adjusts the existing publish workflow. The script creates car, uploads car, then saves this cid to the package.json in under nearfs.cid (you can see one now, I tested and pushed the result to prove a working script)

It also creates an asset-manifest.json during webpack build to make finding the main and runtime bundle hashes easier.

Successfully deployed to: https://ipfs.web4.near.page/ipfs/bafybeiftqwg2qdfhjwuxt5cjvvsxflp6ghhwgz5db3i4tqipocvyzhn2bq/

@elliotBraem elliotBraem mentioned this pull request Jul 11, 2024
4 tasks
);
}

if (network !== "mainnet" && network !== "testnet") {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no NEARFS on testnet as far as I know

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elliotBraem elliotBraem merged commit 8123841 into main Jul 15, 2024
1 check passed
@elliotBraem elliotBraem deleted the feat/release branch July 15, 2024 22:22
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.

2 participants