Compare commits

...

5 Commits

Author SHA1 Message Date
Nathan Rajlich
4c0055eaf0 Publish Stable
- vercel@21.3.2
 - @vercel/python@2.0.0
2021-03-02 11:03:53 -08:00
Nathan Rajlich
910a905192 Remove @vercel/python stable publish blacklist (#5920) 2021-03-02 11:01:02 -08:00
Steven
156a9be06e Publish Stable
- vercel@21.3.1
 - @vercel/go@1.2.1
2021-02-26 16:21:51 -05:00
Steven
e2132ee36d Publish Canary
- vercel@21.3.1-canary.0
 - @vercel/go@1.2.1-canary.0
2021-02-26 15:22:59 -05:00
Steven
4572230c1d [go] Fix analyze ignore list (#5906)
A regression was introduced in #5873 that caused the analyze step to parse Go's internal source files (eg `golang/test/bombad.go`) instead of only parsing the user's source code (eg `api/users.go`).

This resulted in the error:

```
Failed to parse AST for "api/users.go"
Error: Command failed: /vercel/1ab928d537d26157/.build-utils/.builder/node_modules/@vercel/go/dist/analyze -modpath=/vercel/workpath1 /vercel/workpath1/api/users.go
2021/02/26 14:26:42 Could not parse Go file "/vercel/workpath1/.vercel/cache/golang/test/bombad.go"
```
2021-02-26 20:15:34 +00:00
5 changed files with 6 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "vercel",
"version": "21.3.0",
"version": "21.3.2",
"preferGlobal": true,
"license": "Apache-2.0",
"description": "The command-line interface for Vercel",
@@ -62,9 +62,9 @@
},
"dependencies": {
"@vercel/build-utils": "2.10.0",
"@vercel/go": "1.2.0",
"@vercel/go": "1.2.1",
"@vercel/node": "1.9.1-canary.0",
"@vercel/python": "1.2.5-canary.1",
"@vercel/python": "2.0.0",
"@vercel/ruby": "1.2.6-canary.0",
"update-notifier": "4.1.0"
},

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/go",
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",
"main": "./dist/index",
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/go",

View File

@@ -18,7 +18,7 @@ import (
var ignoredFoldersRegex []*regexp.Regexp
func init() {
ignoredFolders := []string{"vendor", "testdata", ".now"}
ignoredFolders := []string{"vendor", "testdata", ".now", ".vercel"}
// Build the regex that matches if a path contains the respective ignored folder
// The pattern will look like: (.*/)?vendor/.*, which matches every path that contains a vendor folder

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/python",
"version": "1.2.5-canary.1",
"version": "2.0.0",
"main": "./dist/index.js",
"license": "MIT",
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",

6
utils/changelog.js vendored
View File

@@ -48,12 +48,6 @@ async function main() {
pkgs.add('vercel');
}
// NOTE: `@vercel/python` stable must not be released
// until March 1st, 2021 due to breaking behavior with
// the request URL (https://github.com/vercel/vercel/pull/5739).
// After that date this can be removed.
pkgs.delete('@vercel/python');
const pub = Array.from(pkgs).join(',');
console.log('To publish a stable release, execute the following:');