@goreleaser/goreleaser-pro 2.14.1 → 2.14.3

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.
Files changed (3) hide show
  1. package/README.md +4 -5
  2. package/lib.js +7 -4
  3. package/package.json +13 -13
package/README.md CHANGED
@@ -42,9 +42,10 @@ You have questions, need support and or just want to talk about GoReleaser?
42
42
 
43
43
  Here are ways to get in touch with the GoReleaser community:
44
44
 
45
- [![Join Discord](https://img.shields.io/badge/Join_our_Discord_server-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/RGEBtg8vQ6)
46
- [![Follow Twitter](https://img.shields.io/badge/follow_on_twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/goreleaser)
47
- [![GitHub Discussions](https://img.shields.io/badge/GITHUB_DISCUSSION-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/goreleaser/goreleaser/discussions)
45
+ [![Join Discord](https://img.shields.io/badge/Discuss_on_Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/RGEBtg8vQ6)
46
+ [![Follow on 𝕏](https://img.shields.io/badge/Follow_on_𝕏-000000?style=for-the-badge&logo=x&logoColor=white)](https://twitter.com/goreleaser)
47
+ [![Follow Telegram Channel](https://img.shields.io/badge/Follow_on_Telegram-26A5E4?style=for-the-badge&logo=telegram&logoColor=%23FFFFFF)](https://t.me/goreleasernews)
48
+ [![GitHub Discussions](https://img.shields.io/badge/Discuss_on_GITHUB-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/goreleaser/goreleaser/discussions)
48
49
 
49
50
  You can find the links above and all others [here](https://goreleaser.com/links/).
50
51
 
@@ -110,7 +111,6 @@ A big **thank you** to all current, past, and future sponsors!
110
111
 
111
112
  <a href="https://depot.dev" target="_blank" rel="noopener sponsored"><img src="https://images.opencollective.com/depot/39125a1/logo/96.png" alt="Depot" width="80" height="80" style="border-radius: 8px; margin: 8px;"></a>
112
113
  <a href="https://www.n-ix.com/" target="_blank" rel="noopener sponsored"><img src="https://images.opencollective.com/n-ix-ltd/575a7a5/logo/96.png" alt="N-iX Ltd" width="80" height="80" style="border-radius: 8px; margin: 8px;"></a>
113
- <a href="https://github.com/DataDog" target="_blank" rel="noopener sponsored"><img src="https://avatars.githubusercontent.com/u/365230?v=4" alt="Datadog, Inc." width="80" height="80" style="border-radius: 8px; margin: 8px;"></a>
114
114
 
115
115
  </div>
116
116
 
@@ -159,7 +159,6 @@ A big **thank you** to all current, past, and future sponsors!
159
159
  - [Carl Tsai](https://github.com/moonape1226)
160
160
  - [David Dymko](https://github.com/ddymko)
161
161
  - [Jan De Dobbeleer](https://github.com/JanDeDobbeleer)
162
- - [Paul Greenberg](https://github.com/greenpau)
163
162
  - [Baptiste Canton](https://github.com/batmac)
164
163
  - [Andrew](https://github.com/wobondar)
165
164
  - [Sidartha Karna](https://github.com/sidarthakarna)
package/lib.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // This file was generated by GoReleaser. DO NOT EDIT.
2
- const { archives } = require("./package.json");
2
+ const { archives, name, version } = require("./package.json");
3
3
  const fs = require("fs");
4
4
  const crypto = require("crypto");
5
5
  const path = require("path");
@@ -125,23 +125,25 @@ const install = async () => {
125
125
  const bin = path.join(binDir, archive.bins[0]);
126
126
  fs.copyFileSync(archivePath, bin);
127
127
  fs.chmodSync(bin, 0o755);
128
- return;
128
+ break;
129
129
  case "zip":
130
- return extractZip(
130
+ await extractZip(
131
131
  archivePath,
132
132
  archive.bins,
133
133
  binDir,
134
134
  archive.wrappedIn,
135
135
  );
136
+ break;
136
137
  case "tar":
137
138
  case "tar.gz":
138
139
  case "tgz":
139
- return extractTar(
140
+ await extractTar(
140
141
  archivePath,
141
142
  archive.bins,
142
143
  binDir,
143
144
  archive.wrappedIn,
144
145
  );
146
+ break;
145
147
  case "tar.zst":
146
148
  case "tzst":
147
149
  case "tar.xz":
@@ -149,6 +151,7 @@ const install = async () => {
149
151
  default:
150
152
  throw new Error(`unsupported format: ${archive.format}`);
151
153
  }
154
+ console.log(`Installed ${name} ${version} to ${binDir}`);
152
155
  } catch (err) {
153
156
  throw new Error(`Installation failed: ${err.message}`);
154
157
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goreleaser/goreleaser-pro",
3
- "version": "2.14.1",
3
+ "version": "2.14.3",
4
4
  "description": "Release engineering, simplified.",
5
5
  "scripts": {
6
6
  "postinstall": "node install.js",
@@ -38,74 +38,74 @@
38
38
  "archives": {
39
39
  "darwin-arm64": {
40
40
  "name": "goreleaser-pro_Darwin_arm64.tar.gz",
41
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.1/goreleaser-pro_Darwin_arm64.tar.gz",
41
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.3/goreleaser-pro_Darwin_arm64.tar.gz",
42
42
  "bins": [
43
43
  "goreleaser"
44
44
  ],
45
45
  "format": "tar.gz",
46
46
  "checksum": {
47
47
  "algorithm": "sha256",
48
- "digest": "31c4e959d7bd4f8a586935bf143f70a72fa295253544c23972fbbc63813ac89d"
48
+ "digest": "c616cb4dd73c1d49f41dd23160a7b5a8092e45e40735f98fc02173611a8dfcbb"
49
49
  }
50
50
  },
51
51
  "darwin-x64": {
52
52
  "name": "goreleaser-pro_Darwin_x86_64.tar.gz",
53
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.1/goreleaser-pro_Darwin_x86_64.tar.gz",
53
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.3/goreleaser-pro_Darwin_x86_64.tar.gz",
54
54
  "bins": [
55
55
  "goreleaser"
56
56
  ],
57
57
  "format": "tar.gz",
58
58
  "checksum": {
59
59
  "algorithm": "sha256",
60
- "digest": "0352103101ff24d0e92eb919421de4606af703a983e5357648926dfae27d59ae"
60
+ "digest": "c62f4f7562947443140ed756d81ddc432fd5fcacd3b66ad41e8970c220ad8774"
61
61
  }
62
62
  },
63
63
  "linux-arm64": {
64
64
  "name": "goreleaser-pro_Linux_arm64.tar.gz",
65
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.1/goreleaser-pro_Linux_arm64.tar.gz",
65
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.3/goreleaser-pro_Linux_arm64.tar.gz",
66
66
  "bins": [
67
67
  "goreleaser"
68
68
  ],
69
69
  "format": "tar.gz",
70
70
  "checksum": {
71
71
  "algorithm": "sha256",
72
- "digest": "72b97aa7bd9b0c1b765facca38b08868d380db1341d90e1017282235913f2e1d"
72
+ "digest": "ce7d578d4c8e7cbc775808a228741317c9406b5044bf4c022a6134e40a5fc2cc"
73
73
  }
74
74
  },
75
75
  "linux-x64": {
76
76
  "name": "goreleaser-pro_Linux_x86_64.tar.gz",
77
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.1/goreleaser-pro_Linux_x86_64.tar.gz",
77
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.3/goreleaser-pro_Linux_x86_64.tar.gz",
78
78
  "bins": [
79
79
  "goreleaser"
80
80
  ],
81
81
  "format": "tar.gz",
82
82
  "checksum": {
83
83
  "algorithm": "sha256",
84
- "digest": "3f569563485e70e649ad4d8e0e3d15891addb1b1c7dbe70318f572cf2e9feff7"
84
+ "digest": "a6a7ba86950db98b1e7d18ac189bf43237645f9ef5ca89a66a56308c45f29b73"
85
85
  }
86
86
  },
87
87
  "win32-arm64": {
88
88
  "name": "goreleaser-pro_Windows_arm64.zip",
89
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.1/goreleaser-pro_Windows_arm64.zip",
89
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.3/goreleaser-pro_Windows_arm64.zip",
90
90
  "bins": [
91
91
  "goreleaser.exe"
92
92
  ],
93
93
  "format": "zip",
94
94
  "checksum": {
95
95
  "algorithm": "sha256",
96
- "digest": "96472bc782d0bdaa162c3792286ef685df0603faa55b1cf1df1076ed8a104c13"
96
+ "digest": "860c08e3a007bd925ea564dc80d9afae63f58f9b3801eec6b0ca027b2acb0c48"
97
97
  }
98
98
  },
99
99
  "win32-x64": {
100
100
  "name": "goreleaser-pro_Windows_x86_64.zip",
101
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.1/goreleaser-pro_Windows_x86_64.zip",
101
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.3/goreleaser-pro_Windows_x86_64.zip",
102
102
  "bins": [
103
103
  "goreleaser.exe"
104
104
  ],
105
105
  "format": "zip",
106
106
  "checksum": {
107
107
  "algorithm": "sha256",
108
- "digest": "7a2e2d58a87665f4bbc01c10fb82ae9720ba399e02e6d91af80252cc4fbe8c97"
108
+ "digest": "e46837bf5c26ebc74d41de712a108547b8d05d8c3e7bdef68697567f21207453"
109
109
  }
110
110
  }
111
111
  }