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

release: bump sandbox to 1.26.0 #38

Merged
merged 2 commits into from
Jun 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-sandbox-utils"
version = "0.2.0"
version = "0.3.0"
edition = "2018"
license = "MIT OR Apache-2.0"
repository = "https://github.com/near/sandbox"
Expand Down
2 changes: 1 addition & 1 deletion crate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub mod sync;

// The current version of the sandbox node we want to point to. This can be updated from
// time to time, but probably should be close to when a release is made.
const DEFAULT_SANDBOX_COMMIT_HASH: &str = "master/57362268301554563c4f800af963a1270b3d5283";
const DEFAULT_SANDBOX_COMMIT_HASH: &str = "master/97c0410de519ecaca369aaee26f0ca5eb9e7de06";

const fn platform() -> &'static str {
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
Expand Down
2 changes: 1 addition & 1 deletion npm/dist/getBinary.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function getPlatform() {
}
function AWSUrl() {
const [platform, arch] = getPlatform();
return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/master/57362268301554563c4f800af963a1270b3d5283/near-sandbox.tar.gz`;
return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/master/97c0410de519ecaca369aaee26f0ca5eb9e7de06/near-sandbox.tar.gz`;

Choose a reason for hiding this comment

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

I take it there is no tagged version sandbox binary still for mac? Do we have an issue open for this?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll create a issue in sandbox, but last time I tested it, it wasn't because of the regex. Apparently it's an oddity of github actions not allowing actions to be triggers on top of other actions. I'll post all my findings there, but it's super strange since it makes the "tag" option seem pointless

Choose a reason for hiding this comment

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

yeah, it's fine to not change rn, just that we should probably create an issue in ops repo to avoid kicking the can down the road indefinitely

}
exports.AWSUrl = AWSUrl;
function getBinary(name = "near-sandbox") {
Expand Down
2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "near-sandbox",
"version": "0.0.9",
"version": "0.0.10",
"description": "CLI tool for testing NEAR smart contracts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion npm/src/getBinary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function getPlatform() {

export function AWSUrl(): string {
const [platform, arch] = getPlatform();
return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/master/57362268301554563c4f800af963a1270b3d5283/near-sandbox.tar.gz`;
return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/master/97c0410de519ecaca369aaee26f0ca5eb9e7de06/near-sandbox.tar.gz`;
}

export function getBinary(name: string = "near-sandbox"): Promise<Binary> {
Expand Down