From ba8c7a4320b612e7c3714366d0a2fdc2f2fa748b Mon Sep 17 00:00:00 2001 From: Geoffrey Kwan Date: Thu, 11 Jan 2024 15:17:00 -0500 Subject: [PATCH] ci(Semantic Release): Create assets for other language builds --- package.json | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a6965ab2f4..f3cf2c3794e 100644 --- a/package.json +++ b/package.json @@ -172,7 +172,7 @@ [ "@semantic-release/exec", { - "prepareCmd": "cd dist; tar -czf en-US.tar.gz en-US" + "prepareCmd": "cd dist; tar -czf en-US.tar.gz en-US; tar -czf es.tar.gz es; tar -czf ja.tar.gz ja; tar -czf pt.tar.gz pt; tar -czf tr.tar.gz tr; tar -czf zh-Hans.tar.gz zh-Hans; tar -czf zh-Hant.tar.gz zh-Hant" } ], [ @@ -182,6 +182,30 @@ { "path": "dist/en-US.tar.gz", "label": "English build" + }, + { + "path": "dist/es.tar.gz", + "label": "Spanish build" + }, + { + "path": "dist/ja.tar.gz", + "label": "Japanese build" + }, + { + "path": "dist/pt.tar.gz", + "label": "Portuguese build" + }, + { + "path": "dist/tr.tar.gz", + "label": "Turkish build" + }, + { + "path": "dist/zh-Hans.tar.gz", + "label": "Chinese (Simplified) build" + }, + { + "path": "dist/zh-Hant.tar.gz", + "label": "Chinese (Traditional) build" } ] }