@goreleaser/goreleaser-pro 2.14.2 → 2.15.0

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.
package/README.md CHANGED
@@ -3,18 +3,11 @@
3
3
  <h3 align="center">GoReleaser</h3>
4
4
  <p align="center">Release engineering, simplified.</p>
5
5
  <p align="center">
6
- <img alt="Go" src="./www/docs/static/go-light.svg#gh-light-mode-only" height="30" width="30" />
7
- <img alt="Go" src="./www/docs/static/go-dark.svg#gh-dark-mode-only" height="30" width="30" />
8
- <img alt="Rust" src="./www/docs/static/rust-light.svg#gh-light-mode-only" height="30" width="30" />
9
- <img alt="Rust" src="./www/docs/static/rust-dark.svg#gh-dark-mode-only" height="30" width="30" />
10
- <img alt="Zig" src="./www/docs/static/zig-light.svg#gh-light-mode-only" height="30" width="30" />
11
- <img alt="Zig" src="./www/docs/static/zig-dark.svg#gh-dark-mode-only" height="30" width="30" />
12
- <img alt="Bun" src="./www/docs/static/bun-light.svg#gh-light-mode-only" height="30" width="30" />
13
- <img alt="Bun" src="./www/docs/static/bun-dark.svg#gh-dark-mode-only" height="30" width="30" />
14
- <img alt="Deno" src="./www/docs/static/deno-light.svg#gh-light-mode-only" height="30" width="30" />
15
- <img alt="Deno" src="./www/docs/static/deno-dark.svg#gh-dark-mode-only" height="30" width="30" />
16
- <img alt="Python" src="./www/docs/static/python-light.svg#gh-light-mode-only" height="30" width="30" />
17
- <img alt="Python" src="./www/docs/static/python-dark.svg#gh-dark-mode-only" height="30" width="30" />
6
+ <img height="30" src="https://cdn.simpleicons.org/go/555555/ffffff" alt="Go" />
7
+ <img height="30" src="https://cdn.simpleicons.org/rust/555555/ffffff" alt="Rust" />
8
+ <img height="30" src="https://cdn.simpleicons.org/zig/555555/ffffff" alt="Zig" />
9
+ <img height="30" src="https://cdn.simpleicons.org/typescript/555555/ffffff" alt="TypeScript" />
10
+ <img height="30" src="https://cdn.simpleicons.org/python/555555/ffffff" alt="Python" />
18
11
  </p>
19
12
  </p>
20
13
 
@@ -23,7 +16,7 @@
23
16
  We handle the complexities of releasing so you can focus in building what really
24
17
  matters: **your software**.
25
18
 
26
- ![](https://goreleaser.com/static/goreleaser.png)
19
+ ![](https://goreleaser.com/static/goreleaser.svg)
27
20
 
28
21
  ---
29
22
 
@@ -71,7 +64,12 @@ Please refer to our [contributing guidelines](CONTRIBUTING.md) for further infor
71
64
  [![CII Best Practices](https://img.shields.io/cii/summary/5420?label=openssf%20best%20practices&style=for-the-badge)](https://bestpractices.coreinfrastructure.org/projects/5420)
72
65
  [![GoReportCard](https://goreportcard.com/badge/github.com/goreleaser/goreleaser?style=for-the-badge)](https://goreportcard.com/report/github.com/goreleaser/goreleaser)
73
66
 
74
- ## Sponsors
67
+ ## Contributing
68
+
69
+ This project exists thanks to all the people who contribute.
70
+ [Contribution guide](CONTRIBUTING.md).
71
+
72
+ ## Sponsoring
75
73
 
76
74
  Does you or your company use GoReleaser?
77
75
 
@@ -85,96 +83,30 @@ You can sponsor GoReleaser via:
85
83
 
86
84
  A big **thank you** to all current, past, and future sponsors!
87
85
 
88
- <!-- sponsors:begin -->
89
- <!-- This list is auto-generated by scripts/update-sponsors.py -->
90
-
91
- ### Platinum Sponsors
92
-
93
- <div align="center">
94
-
95
- <a href="https://github.com/SAP" target="_blank" rel="noopener sponsored"><img src="https://avatars.githubusercontent.com/u/2531208?v=4" alt="SAP" width="112" height="112" style="border-radius: 8px; margin: 8px;"></a>
96
-
97
- </div>
98
-
99
- ### Gold Sponsors
100
-
101
- <div align="center">
102
-
103
- <a href="https://github.com/mercedes-benz" target="_blank" rel="noopener sponsored"><img src="https://avatars.githubusercontent.com/u/34240465?v=4" alt="Mercedes-Benz Group" width="96" height="96" style="border-radius: 8px; margin: 8px;"></a>
104
- <a href="https://github.com/nitrictech" target="_blank" rel="noopener sponsored"><img src="https://avatars.githubusercontent.com/u/72055470?v=4" alt="nitric" width="96" height="96" style="border-radius: 8px; margin: 8px;"></a>
105
-
106
- </div>
107
-
108
- ### Silver Sponsors
86
+ ---
109
87
 
88
+ <!-- sponsors:begin -->
89
+ <!-- this list is auto-generated by https://github.com/goreleaser/sponsors -->
110
90
  <div align="center">
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>
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>
114
- <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>
115
-
91
+ <h2>Our Sponsors</h2>
92
+ <h3>Diamond</h3>
93
+ <a href="https://serpapi.com/?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=github" target="_blank" rel="noopener sponsored" ><img src="https://github.com/serpapi.png" alt="SerpApi" width="128" height="128"/></a>
94
+ <h3>Platinum</h3>
95
+ <a href="https://opensource.sap.com?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=github" target="_blank" rel="noopener sponsored" ><img src="https://avatars.githubusercontent.com/u/2531208?v=4&s=112" alt="SAP" width="112" height="112"/></a>
96
+ <h3>Gold</h3>
97
+ <a href="https://opensource.mercedes-benz.com/?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=github" target="_blank" rel="noopener sponsored" ><img src="https://avatars.githubusercontent.com/u/34240465?v=4&s=96" alt="Mercedes-Benz Group" width="96" height="96"/></a>
98
+ <a href="https://nitric.io?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=github" target="_blank" rel="noopener sponsored" ><img src="https://avatars.githubusercontent.com/u/72055470?v=4&s=96" alt="nitric" width="96" height="96"/></a>
99
+ <h3>Silver</h3>
100
+ <a href="https://depot.dev?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=opencollective" target="_blank" rel="noopener sponsored" ><img src="https://images.opencollective.com/depot/39125a1/logo.png?height=80" alt="Depot" width="80" height="80"/></a>
101
+ <a href="https://www.n-ix.com/?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=opencollective" target="_blank" rel="noopener sponsored" ><img src="https://images.opencollective.com/n-ix-ltd/575a7a5/logo.png?height=80" alt="N-iX Ltd" width="80" height="80"/></a>
102
+ <h3>Bronze</h3>
103
+ <a href="https://www.conet.de?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=github" target="_blank" rel="noopener sponsored" ><img src="https://avatars.githubusercontent.com/u/35725664?v=4&s=64" alt="conet cloud" width="64" height="64"/></a>
104
+ <a href="https://encore.dev?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=github" target="_blank" rel="noopener sponsored" ><img src="https://avatars.githubusercontent.com/u/50438175?v=4&s=64" alt="Encore" width="64" height="64"/></a>
105
+ <a href="https://www.comet.com/site/?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=github" target="_blank" rel="noopener sponsored" ><img src="https://avatars.githubusercontent.com/u/31487821?v=4&s=64" alt="Comet" width="64" height="64"/></a>
106
+ <a href="https://about.gitea.com/?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=opencollective" target="_blank" rel="noopener sponsored" ><img src="https://images.opencollective.com/gitea/bf35c2f/logo.png?height=64" alt="Gitea" width="64" height="64"/></a>
107
+ <a href="https://www.interviewpal.com?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content=github" target="_blank" rel="noopener sponsored" ><img src="https://avatars.githubusercontent.com/u/268665632?v=4&s=64" alt="InterviewPal.com" width="64" height="64"/></a>
108
+ <h3>And many more!</h3>
109
+ <p>See the full list <a href="https://goreleaser.com/sponsors" target="_blank" rel="noopener sponsored">here</a>.</p>
116
110
  </div>
117
111
 
118
- ### Bronze Sponsors
119
-
120
- <div align="center">
121
-
122
- <a href="https://github.com/conetcloud" target="_blank" rel="noopener sponsored"><img src="https://avatars.githubusercontent.com/u/35725664?v=4" alt="conet cloud" width="64" height="64" style="border-radius: 8px; margin: 8px;"></a>
123
- <a href="https://github.com/encoredev" target="_blank" rel="noopener sponsored"><img src="https://avatars.githubusercontent.com/u/50438175?v=4" alt="Encore" width="64" height="64" style="border-radius: 8px; margin: 8px;"></a>
124
- <a href="https://about.gitea.com/" target="_blank" rel="noopener sponsored"><img src="https://images.opencollective.com/gitea/bf35c2f/logo/96.png" alt="Gitea" width="64" height="64" style="border-radius: 8px; margin: 8px;"></a>
125
- <a href="https://github.com/comet-ml" target="_blank" rel="noopener sponsored"><img src="https://avatars.githubusercontent.com/u/31487821?v=4" alt="Comet" width="64" height="64" style="border-radius: 8px; margin: 8px;"></a>
126
-
127
- </div>
128
-
129
- ### Backers
130
-
131
- - [Marcel Eichner](https://github.com/Ephigenia)
132
- - [Chatpong Voranartaksorn](https://github.com/psychvc)
133
- - [Bruno Paz](https://brunopaz.dev/)
134
- - [Guest](https://opencollective.com/guest-341ba997)
135
- - [Automatio AI](https://automatio.ai/)
136
- - [Bileta Avioni](https://biletaavioni.al/)
137
- - [Time.so](https://time.so/)
138
- - [Feetpedia](https://feetpedia.com/)
139
- - [Time.now Worldwide Developer API](https://time.now/developer)
140
- - [Calculators](https://calculator.now/)
141
- - [YouTube Transcript](https://transcript.you/)
142
- - [Video Downloader](https://orbitdownloader.com/)
143
- - [OhMyFacts](https://ohmyfacts.com/)
144
- - [Network Tools](https://gf.dev/)
145
- - [Jared Allard](https://github.com/jaredallard)
146
- - [joe miller](https://github.com/joemiller)
147
- - [Ryan Nixon](https://github.com/taiidani)
148
- - [Lea Anthony](https://github.com/leaanthony)
149
- - [Francis Lavoie](https://github.com/francislavoie)
150
- - [Nicolas Gotchac](https://github.com/ngotchac)
151
- - [Ben](https://github.com/iwpnd)
152
- - [KEINOS](https://github.com/KEINOS)
153
- - [Eden Zimbelman](https://github.com/zimeg)
154
- - [Ben Lechlitner](https://github.com/asphaltbuffet)
155
- - [Alexey Palazhchenko](https://github.com/AlekSi)
156
- - [David Birks](https://github.com/dbirks)
157
- - [Alex Viscreanu](https://github.com/aexvir)
158
- - [Ethan Li](https://github.com/ethanjli)
159
- - [Benjamin Kane](https://github.com/bbkane)
160
- - [Carl Tsai](https://github.com/moonape1226)
161
- - [David Dymko](https://github.com/ddymko)
162
- - [Jan De Dobbeleer](https://github.com/JanDeDobbeleer)
163
- - [Baptiste Canton](https://github.com/batmac)
164
- - [Andrew](https://github.com/wobondar)
165
- - [Sidartha Karna](https://github.com/sidarthakarna)
166
- - [Kazuma Watanabe](https://github.com/wata727)
167
- - [Joseph Sirianni](https://github.com/jsirianni)
168
- - [Oleg Balunenko](https://github.com/obalunenko)
169
- - [^.{5}\s.{2}ram.{3}$](https://github.com/umatare5)
170
-
171
112
  <!-- sponsors:end -->
172
-
173
- ### Contributors
174
-
175
- This project exists thanks to all the people who contribute.
176
- [Contribution guide](CONTRIBUTING.md).
177
-
178
- ## Stars
179
-
180
- [![Stargazers over time](https://starchart.cc/goreleaser/goreleaser.svg?variant=adaptive)](https://starchart.cc/goreleaser/goreleaser)
package/install.js CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  // This file was generated by GoReleaser. DO NOT EDIT.
4
4
 
5
- const { install } = require("./lib.js");
5
+ import { install } from "./lib.js";
6
6
  install();
package/lib.js CHANGED
@@ -1,15 +1,20 @@
1
1
  // This file was generated by GoReleaser. DO NOT EDIT.
2
- const { archives, name, version } = require("./package.json");
3
- const fs = require("fs");
4
- const crypto = require("crypto");
5
- const path = require("path");
6
- const JSZip = require("jszip");
7
- const tar = require("tar");
8
- const axios = require("axios");
9
- const { ProxyAgent } = require("proxy-agent");
10
- const { spawnSync } = require("child_process");
2
+ import fs from "fs";
3
+ import crypto from "crypto";
4
+ import path from "path";
5
+ import JSZip from "jszip";
6
+ import { x as tarExtract } from "tar";
7
+ import axios from "axios";
8
+ import { ProxyAgent } from "proxy-agent";
9
+ import { spawnSync } from "child_process";
10
+ import { fileURLToPath } from "url";
11
+
12
+ const { archives, name, version } = JSON.parse(
13
+ fs.readFileSync(new URL("./package.json", import.meta.url), "utf8"),
14
+ );
11
15
 
12
16
  const agent = new ProxyAgent();
17
+ const __dirname = path.dirname(fileURLToPath(import.meta.url));
13
18
 
14
19
  const getArchive = () => {
15
20
  let target = `${process.platform}-${process.arch}`;
@@ -30,7 +35,7 @@ async function extractTar(tarPath, binaries, dir, wrappedIn) {
30
35
  )
31
36
  : binaries;
32
37
 
33
- await tar.x({
38
+ await tarExtract({
34
39
  file: tarPath,
35
40
  cwd: dir,
36
41
  filter: (path) => filesToExtract.includes(path),
@@ -216,8 +221,9 @@ function exists(archive) {
216
221
  return archive.bins.every((bin) => fs.existsSync(path.join(binDir, bin)));
217
222
  }
218
223
 
219
- module.exports = {
224
+ export {
220
225
  install,
221
226
  run,
222
227
  getArchive,
228
+ download,
223
229
  };
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@goreleaser/goreleaser-pro",
3
- "version": "2.14.2",
3
+ "type": "module",
4
+ "version": "2.15.0",
4
5
  "description": "Release engineering, simplified.",
5
6
  "scripts": {
6
7
  "postinstall": "node install.js",
@@ -32,80 +33,80 @@
32
33
  "dependencies": {
33
34
  "axios": "^1.8.2",
34
35
  "jszip": "^3.10.1",
35
- "proxy-agent": "^6.5.0",
36
+ "proxy-agent": "^7.0.0",
36
37
  "tar": "^7.4.3"
37
38
  },
38
39
  "archives": {
39
40
  "darwin-arm64": {
40
41
  "name": "goreleaser-pro_Darwin_arm64.tar.gz",
41
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.2/goreleaser-pro_Darwin_arm64.tar.gz",
42
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.15.0/goreleaser-pro_Darwin_arm64.tar.gz",
42
43
  "bins": [
43
44
  "goreleaser"
44
45
  ],
45
46
  "format": "tar.gz",
46
47
  "checksum": {
47
48
  "algorithm": "sha256",
48
- "digest": "374637436da38cef87aa8c1284c84bba55a405b06d19d62f0204eca08f1b078c"
49
+ "digest": "2e6ae523a3461c98a228da1b2d28270fe438ef088f5c51968962be4a7dc9234d"
49
50
  }
50
51
  },
51
52
  "darwin-x64": {
52
53
  "name": "goreleaser-pro_Darwin_x86_64.tar.gz",
53
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.2/goreleaser-pro_Darwin_x86_64.tar.gz",
54
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.15.0/goreleaser-pro_Darwin_x86_64.tar.gz",
54
55
  "bins": [
55
56
  "goreleaser"
56
57
  ],
57
58
  "format": "tar.gz",
58
59
  "checksum": {
59
60
  "algorithm": "sha256",
60
- "digest": "860dfa2561390a7fdcf1a7eff6d0fd5ffda3e1dccbb4dc59ba88f81d6449d163"
61
+ "digest": "f9643936a002436d5ad88afbccccf5eb9e892a8a74016e3f0f0d44ead3771f89"
61
62
  }
62
63
  },
63
64
  "linux-arm64": {
64
65
  "name": "goreleaser-pro_Linux_arm64.tar.gz",
65
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.2/goreleaser-pro_Linux_arm64.tar.gz",
66
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.15.0/goreleaser-pro_Linux_arm64.tar.gz",
66
67
  "bins": [
67
68
  "goreleaser"
68
69
  ],
69
70
  "format": "tar.gz",
70
71
  "checksum": {
71
72
  "algorithm": "sha256",
72
- "digest": "2c524ada8eaf03d9545330fadd94750b5a9ad5ef63b4c2749efce842bb76d20f"
73
+ "digest": "251c8f4ed01395f11db5e18ac407eaf8023c83ab0031554afae93c45db466971"
73
74
  }
74
75
  },
75
76
  "linux-x64": {
76
77
  "name": "goreleaser-pro_Linux_x86_64.tar.gz",
77
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.2/goreleaser-pro_Linux_x86_64.tar.gz",
78
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.15.0/goreleaser-pro_Linux_x86_64.tar.gz",
78
79
  "bins": [
79
80
  "goreleaser"
80
81
  ],
81
82
  "format": "tar.gz",
82
83
  "checksum": {
83
84
  "algorithm": "sha256",
84
- "digest": "46b977977ae62f3dcfe19ca560247a644a11993a83ffd2fcecb2bdf509a45c48"
85
+ "digest": "fc65234bff476789d75ce41ef4ee5aa4401447572a842141eb0efc38a915e2c7"
85
86
  }
86
87
  },
87
88
  "win32-arm64": {
88
89
  "name": "goreleaser-pro_Windows_arm64.zip",
89
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.2/goreleaser-pro_Windows_arm64.zip",
90
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.15.0/goreleaser-pro_Windows_arm64.zip",
90
91
  "bins": [
91
92
  "goreleaser.exe"
92
93
  ],
93
94
  "format": "zip",
94
95
  "checksum": {
95
96
  "algorithm": "sha256",
96
- "digest": "dce76146d94f0f7f5e83b2360bcf8d0ddbc1f0a14bfb973578ece2cb57cbafdc"
97
+ "digest": "af23c7dcb12a76ec910f62d2b7a3539e333d82059f0ed1982305b7b8aaa47f02"
97
98
  }
98
99
  },
99
100
  "win32-x64": {
100
101
  "name": "goreleaser-pro_Windows_x86_64.zip",
101
- "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.14.2/goreleaser-pro_Windows_x86_64.zip",
102
+ "url": "https://github.com/goreleaser/goreleaser-pro/releases/download/v2.15.0/goreleaser-pro_Windows_x86_64.zip",
102
103
  "bins": [
103
104
  "goreleaser.exe"
104
105
  ],
105
106
  "format": "zip",
106
107
  "checksum": {
107
108
  "algorithm": "sha256",
108
- "digest": "5d208d03eb687e03b5ae65d3c0bd3568156fa8cfe8dd66c5df69485cd22be533"
109
+ "digest": "56cf46bd0a5d3c0189e6c2d40710e977387e620bb96f8210d03bcb8da5c09d0b"
109
110
  }
110
111
  }
111
112
  }
package/run-goreleaser.js CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  // This file was generated by GoReleaser. DO NOT EDIT.
4
4
 
5
- const { run } = require("./lib.js");
5
+ import { run } from "./lib.js";
6
6
  run("goreleaser").then((code) => process.exit(code));