diff options
Diffstat (limited to 'packages/migrations/package.json')
-rw-r--r-- | packages/migrations/package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/migrations/package.json b/packages/migrations/package.json index 32d61a857..0f91c2972 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -17,13 +17,13 @@ "script:migrate:v2": "node ./lib/migrate.js", "script:migrate:v2:snapshot": "node ./lib/migrate_snapshot.js", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES", - "build:snapshot": "rm -rf ${npm_package_config_snapshot_name} && yarn migrate:v2:snapshot && zip -r \"$(git rev-parse HEAD).zip\" ${npm_package_config_snapshot_name}", + "build:snapshot": "rm -rf ${npm_package_config_snapshot_name} && yarn migrate:v2:snapshot && zip -r \"${npm_package_config_snapshot_name}-${npm_package_version}.zip\" ${npm_package_config_snapshot_name}", "build:snapshot:docker": "docker build --tag ${npm_package_config_docker_snapshot_name}:${npm_package_version} --tag ${npm_package_config_docker_snapshot_name}:latest .", - "publish:snapshot": "aws s3 cp $(git rev-parse HEAD).zip ${npm_package_config_s3_snapshot_bucket}", + "publish:snapshot": "aws s3 cp ${npm_package_config_snapshot_name}-${npm_package_version}.zip ${npm_package_config_s3_snapshot_bucket}", "publish:snapshot:docker": "docker push ${npm_package_config_docker_snapshot_name}:latest" }, "config": { - "s3_snapshot_bucket": "s3://testrpc-snapshots", + "s3_snapshot_bucket": "s3://ganache-snapshots.0x.org", "docker_snapshot_name": "0xorg/ganache-cli", "snapshot_name": "0x_ganache_snapshot", "postpublish": { |