squawk-cli 2.13.0 → 2.14.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.
Files changed (2) hide show
  1. package/js/install.js +3 -1
  2. package/package.json +1 -1
package/js/install.js CHANGED
@@ -44,7 +44,9 @@ const crypto = require("crypto")
44
44
  const { binaryPath } = require("./helpers")
45
45
 
46
46
  // e.g.: https://github.com/sbdchd/squawk/releases/download/v0.1.3/squawk-darwin-x86_64
47
- const RELEASES_BASE_URL = "https://github.com/sbdchd/squawk/releases/download"
47
+ const RELEASES_BASE_URL =
48
+ process.env.SQUAWK_LOCAL_CDNURL ||
49
+ "https://github.com/sbdchd/squawk/releases/download"
48
50
 
49
51
  const SUPPORTED_PLATFORMS = new Set([
50
52
  "darwin-x64",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squawk-cli",
3
- "version": "2.13.0",
3
+ "version": "2.14.0",
4
4
  "description": "linter for PostgreSQL, focused on migrations",
5
5
  "repository": "git@github.com:sbdchd/squawk.git",
6
6
  "author": "Squawk Team & Contributors",