@daiyam/artifact-npm 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,17 @@ jobs:
60
60
  - name: Download Existing TGZ
61
61
  if: env.RELEASE_EXISTS == 'yes' && env.TGZ_URL != ''
62
62
  run: |
63
+ # Download archive
63
64
  gh api ${TGZ_URL} --header 'Accept: application/octet-stream' > ${TGZ_NAME}
65
+
66
+ # Extract archive
67
+ tar xvfz ${TGZ_NAME} --strip-components=1
68
+
69
+ # Don't re-build project
70
+ jq 'del(.scripts.prepack)' package.json > package.json.tmp
71
+ mv package.json.tmp package.json
72
+
73
+ # Export checksum
64
74
  echo "CHECKSUM=$(sha256sum ${TGZ_NAME} | cut -d ' ' -f 1)" >> $GITHUB_ENV
65
75
  env:
66
76
  GH_TOKEN: ${{ github.token }}
@@ -100,7 +110,7 @@ jobs:
100
110
 
101
111
  - name: Release
102
112
  if: env.RELEASE_EXISTS == 'no'
103
- uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
113
+ uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
104
114
  with:
105
115
  files: |
106
116
  ${{ env.TGZ_NAME }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daiyam/artifact-npm",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "The configuration to create node modules and publish them on npm.",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
@@ -31,5 +31,5 @@
31
31
  "project-template",
32
32
  "scaffold"
33
33
  ],
34
- "gitHead": "8a61833eedfc4021b76adc935e6b673b93488079"
34
+ "gitHead": "92c1058d003dbd1b5ca7c7fe85e54358a94e6401"
35
35
  }