aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-12-24 10:20:50 +0800
committerJacob Evans <jacob@dekz.net>2018-12-24 10:20:50 +0800
commit0a1701eac99a35dee4e39505fd9f54df6a5bc4ac (patch)
tree7b49a798ab797f4da3d23b0a2c559c65d5581240
parentbcd20081d39b2d00150fc6d67e2c481b23d03b48 (diff)
downloaddexon-sol-tools-0a1701eac99a35dee4e39505fd9f54df6a5bc4ac.tar
dexon-sol-tools-0a1701eac99a35dee4e39505fd9f54df6a5bc4ac.tar.gz
dexon-sol-tools-0a1701eac99a35dee4e39505fd9f54df6a5bc4ac.tar.bz2
dexon-sol-tools-0a1701eac99a35dee4e39505fd9f54df6a5bc4ac.tar.lz
dexon-sol-tools-0a1701eac99a35dee4e39505fd9f54df6a5bc4ac.tar.xz
dexon-sol-tools-0a1701eac99a35dee4e39505fd9f54df6a5bc4ac.tar.zst
dexon-sol-tools-0a1701eac99a35dee4e39505fd9f54df6a5bc4ac.zip
Copy latest published version to 0x_ganache_snapshot-latest.zip
-rw-r--r--packages/migrations/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/migrations/package.json b/packages/migrations/package.json
index 0f91c2972..59bf30629 100644
--- a/packages/migrations/package.json
+++ b/packages/migrations/package.json
@@ -19,7 +19,7 @@
"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 \"${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 ${npm_package_config_snapshot_name}-${npm_package_version}.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} && aws s3 cp ${npm_package_config_s3_snapshot_bucket}/${npm_package_config_snapshot_name}-${npm_package_version}.zip ${npm_package_config_s3_snapshot_bucket}/${npm_package_config_snapshot_name}-latest.zip",
"publish:snapshot:docker": "docker push ${npm_package_config_docker_snapshot_name}:latest"
},
"config": {