Update version to 1.0.5 and name md5 and sha256 with the package name.
This commit is contained in:
@@ -105,13 +105,19 @@ out/make/deb/x64/trimsp_<version>_amd64.deb
|
||||
out/make/rpm/x64/TrimSP-<version>-1.x86_64.rpm
|
||||
```
|
||||
|
||||
To generate matching `MD5SUMS` and `SHA256SUMS` files for the generated
|
||||
packages, run:
|
||||
To generate matching checksum sidecar files for each generated package, run:
|
||||
|
||||
```bash
|
||||
npm run checksums
|
||||
```
|
||||
|
||||
This creates files next to each package, for example:
|
||||
|
||||
```text
|
||||
out/make/rpm/x64/TrimSP-<version>-1.x86_64.rpm.md5
|
||||
out/make/rpm/x64/TrimSP-<version>-1.x86_64.rpm.sha256
|
||||
```
|
||||
|
||||
If you only want one checksum type, you can also run:
|
||||
|
||||
```bash
|
||||
@@ -148,7 +154,7 @@ under:
|
||||
out/make/flatpak/x86_64/
|
||||
```
|
||||
|
||||
Checksum files can be generated afterward with:
|
||||
Checksum sidecar files can be generated afterward with:
|
||||
|
||||
```bash
|
||||
npm run checksums
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "TrimSP",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "TrimSP",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"license": "GPL2",
|
||||
"dependencies": {
|
||||
"plotly.js-dist": "^1.58.4"
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "TrimSP",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "Trim.SP simulation to calculate stopping profile of implanted probes.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
@@ -8,8 +8,8 @@
|
||||
"package": "electron-forge package",
|
||||
"make": "electron-forge make",
|
||||
"make:flatpak": "FORGE_FLATPAK=1 electron-forge make --targets=@electron-forge/maker-flatpak",
|
||||
"checksums:md5": "sh -c 'test -d out/make/deb/x64 && md5sum out/make/deb/x64/*.deb > out/make/deb/x64/MD5SUMS || true; test -d out/make/rpm/x64 && md5sum out/make/rpm/x64/*.rpm > out/make/rpm/x64/MD5SUMS || true; test -d out/make/flatpak/x86_64 && md5sum out/make/flatpak/x86_64/*.flatpak > out/make/flatpak/x86_64/MD5SUMS || true'",
|
||||
"checksums:sha256": "sh -c 'test -d out/make/deb/x64 && sha256sum out/make/deb/x64/*.deb > out/make/deb/x64/SHA256SUMS || true; test -d out/make/rpm/x64 && sha256sum out/make/rpm/x64/*.rpm > out/make/rpm/x64/SHA256SUMS || true; test -d out/make/flatpak/x86_64 && sha256sum out/make/flatpak/x86_64/*.flatpak > out/make/flatpak/x86_64/SHA256SUMS || true'",
|
||||
"checksums:md5": "sh -c 'for f in out/make/deb/x64/*.deb out/make/rpm/x64/*.rpm out/make/flatpak/x86_64/*.flatpak; do [ -e \"$f\" ] || continue; md5sum \"$f\" > \"$f.md5\"; done'",
|
||||
"checksums:sha256": "sh -c 'for f in out/make/deb/x64/*.deb out/make/rpm/x64/*.rpm out/make/flatpak/x86_64/*.flatpak; do [ -e \"$f\" ] || continue; sha256sum \"$f\" > \"$f.sha256\"; done'",
|
||||
"checksums": "npm run checksums:md5 && npm run checksums:sha256"
|
||||
},
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user