Browse Source

build: enclose release tag sha512 in delimeters

use pgp like enclosure in tag messages when outputting sha512

updates #33
Josh Habdas 1 year ago
parent
commit
543d32ddd0
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
2 changed files with 8 additions and 2 deletions
  1. 6
    0
      CHANGELOG.md
  2. 2
    2
      package.json

+ 6
- 0
CHANGELOG.md View File

@@ -5,12 +5,18 @@ All notable changes to this project will be documented in this file. See [standa
5 5
 <a name="6.6.3"></a>
6 6
 ## [6.6.3](https://git.habd.as/comfusion/after-dark/compare/v6.6.1...v6.6.3) (2018-08-27)
7 7
 
8
+### Security
8 9
 
10
+* **build:** append sha512 to release tag and self-sign
11
+([112f616](https://git.habd.as/comfusion/after-dark/commits/112f616))
9 12
 
10 13
 <a name="6.6.2"></a>
11 14
 ## [6.6.2](https://git.habd.as/comfusion/after-dark/compare/v6.6.1...v6.6.2) (2018-08-26)
12 15
 
16
+### Security
13 17
 
18
+* **build:** add sha512 digest to git tags and gpg sign them
19
+([35457ab](https://git.habd.as/comfusion/after-dark/commits/35457ab))
14 20
 
15 21
 <a name="6.6.1"></a>
16 22
 ## [6.6.1](https://git.habd.as/comfusion/after-dark/compare/v6.6.0...v6.6.1) (2018-08-26)

+ 2
- 2
package.json View File

@@ -17,7 +17,7 @@
17 17
   },
18 18
   "standard-version": {
19 19
     "scripts": {
20
-      "posttag": "git tag --sign $(git describe --tags $(git rev-list --tags --max-count=1)) $(git describe --tags $(git rev-list --tags --max-count=1))^{} -f -m \"$(git log -1 --pretty=%B)\" -m \"$(npm pack --dry-run --json . | grep integrity | cut -d ',' -f1 | cut -d ':' -f2 | tr -d '\" ')\""
20
+      "posttag": "git tag --sign $(git describe --tags $(git rev-list --tags --max-count=1)) $(git describe --tags $(git rev-list --tags --max-count=1))^{} -f -m \"$(git log -1 --pretty=%B)\" -m \"-----BEGIN DIST INTEGRITY-----\" -m \"$(npm pack --dry-run --json . | grep integrity | cut -d ',' -f1 | cut -d ':' -f2 | tr -d '\" ')\" -m \"-----END DIST INTEGRITY-----\""
21 21
     }
22 22
   },
23 23
   "scripts": {
@@ -29,7 +29,7 @@
29 29
     "update:mark": "npm up mark.js && cp -i node_modules/mark.js/dist/mark.min.js static/js",
30 30
     "update:hackcss": "npm up hackcss && cp -ir node_modules/hack/dist/ assets/css/vendor/hack/",
31 31
     "test": "while true; do head -n 100 /dev/urandom; sleep 0.1; done | hexdump -C | grep 'ca fe'",
32
-    "validate": "npm pack --dry-run --json . | grep integrity | cut -d ',' -f1 | cut -d ':' -f2 | tr -d '\" '",
32
+    "integrity": "npm pack --dry-run --json . | grep integrity | cut -d ',' -f1 | cut -d ':' -f2 | tr -d '\" '",
33 33
     "release": "standard-version"
34 34
   },
35 35
   "devDependencies": {

Loading…
Cancel
Save