Skip to content

Commit 8b38e41

Browse files
committed
Include platform name in release filename
1 parent 2c91c07 commit 8b38e41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build-targz.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cp -r node_modules/.pnpm/bindings*/node_modules/file-uri-to-path/* dist/node_mod
1616

1717
cd dist
1818
rm index.cjs
19-
tar -czvf s3-smart-sync-$(jq -r '.version' ../package.json).tar.gz .
19+
tar -czvf s3-smart-sync-$(jq -r '.version' ../package.json)-linux-x64.tar.gz .
2020
mv s3-smart-sync-*.tar.gz ../
2121

2222
cd ..

build-zip.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ wsl cp -r node_modules/.pnpm/bindings*/node_modules/file-uri-to-path/* dist/node
1616

1717
cd dist
1818
del index.cjs
19-
powershell -Command "$version=(Get-Content ..\package.json | ConvertFrom-Json).version; wsl zip -r s3-smart-sync-$version.zip ."
19+
powershell -Command "$version=(Get-Content ..\package.json | ConvertFrom-Json).version; wsl zip -r s3-smart-sync-$version-win-x64.zip ."
2020
wsl mv s3-smart-sync-*.zip ..
2121

2222
cd..

0 commit comments

Comments
 (0)