Open hashmesan opened 2 years ago
be84ba155a5c0c32e72664158d720acf onewallet/background.js
96ccc0ee8ac8ae4df716f50f9db3ec8a onewallet/content-script.js
4701c88491b57a425cf641b5ae6e91a8 onewallet/inject-script.js
b7ccf650dc33635e3c7a02874e14f40b onewallet/popup.js
604c6d74953a59aedc1af4c4f0b94e16 onewallet/popup.html
⌁57% [****:~/****/chrome-extension-wallet] [base] quoc* ± md5sum -c checksums.md5
onewallet/background.js: OK
onewallet/content-script.js: OK
onewallet/inject-script.js: OK
onewallet/popup.js: OK
onewallet/popup.html: OK
⌁56% [****:~/****/chrome-extension-wallet] [base] quoc* ±
Seems good to go
I built again with PR by adding your dockerfile under WORKDIR RUN git fetch origin pull/120/head
. The signatures now match
be84ba155a5c0c32e72664158d720acf dist/background.js
96ccc0ee8ac8ae4df716f50f9db3ec8a dist/content-script.js
4701c88491b57a425cf641b5ae6e91a8 dist/inject-script.js
b7ccf650dc33635e3c7a02874e14f40b dist/popup.js
604c6d74953a59aedc1af4c4f0b94e16 dist/popup.html
Publishing and verification steps (after build):
(1) download the build and verification files (onewallet.zip, and checksums.md5) in a folder
(2) unzip onewallet.zip to onewallet folder (just double click the zip file)
(3) open terminal, go to the folder in (1), and run md5sum -c checksums.md5
(4) verify that you see this as the output
onewallet/background.js: OK
onewallet/content-script.js: OK
onewallet/inject-script.js: OK
onewallet/popup.js: OK
onewallet/popup.html: OK
(5) verify that the content of checksums.md5 is the following (open it using text editor like Sublime or Mac’s default one)
be84ba155a5c0c32e72664158d720acf onewallet/background.js
96ccc0ee8ac8ae4df716f50f9db3ec8a onewallet/content-script.js
4701c88491b57a425cf641b5ae6e91a8 onewallet/inject-script.js
7402fd97dd5a0c9b50ecbdb8f861d349 onewallet/popup.js
604c6d74953a59aedc1af4c4f0b94e16 onewallet/popup.html
We should also include https://github.com/harmony-one/chrome-extension-wallet/pull/121 in the next version
Building with Docker
Using docker to build with clean setup, specific node version, and locked package.json dependencies.
docker build -t chrome-build .
docker create --name onewallet chrome-build
docker cp onewallet:/usr/src/app/chrome-extension-wallet/onewallet.zip .
docker cp onewallet:/usr/src/app/chrome-extension-wallet/dist/checksums.md5 .
unzip onewallet.zip -d onewallet
, Verify local or an external checksum:md5sum -c checksums.md5
My fingerprint with docker build.