pushci 0.5.3 → 0.5.5

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/bin/pushci.js +3 -3
  2. package/package.json +1 -1
package/bin/pushci.js CHANGED
@@ -4,9 +4,9 @@ const fs = require('fs');
4
4
  const path = require('path');
5
5
  const os = require('os');
6
6
 
7
- const VERSION = '0.5.2'; // downloads from GitHub release v0.5.2
7
+ const VERSION = '0.5.3';
8
8
  const BINARY_NAME = os.platform() === 'win32' ? 'pushci.exe' : 'pushci';
9
- const REPO = 'finsavvyai/push-ci.dev';
9
+ const CDN = 'https://pushci-releases.broad-dew-49ad.workers.dev';
10
10
 
11
11
  const PLATFORM_MAP = {
12
12
  darwin: 'darwin', linux: 'linux', win32: 'windows',
@@ -37,7 +37,7 @@ function downloadOrBuild() {
37
37
  if (fs.existsSync(target) && isValidBinary(target)) return target;
38
38
 
39
39
  if (plat && arch) {
40
- const url = `https://github.com/${REPO}/releases/download/v${VERSION}/pushci-${plat}-${arch}${ext}`;
40
+ const url = `${CDN}/v${VERSION}/pushci-${plat}-${arch}${ext}`;
41
41
  console.log(`Downloading pushci v${VERSION}...`);
42
42
  try {
43
43
  execSync(`curl -sfL --retry 2 -o "${target}" "${url}"`, { timeout: 30000 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushci",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Zero-config AI CI/CD — auto-detects your stack, runs on your machine",
5
5
  "bin": {
6
6
  "pushci": "bin/pushci.js"