@capgo/cli 4.10.29 → 4.10.31

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.
@@ -9,7 +9,7 @@ on:
9
9
  - main
10
10
 
11
11
  jobs:
12
- check-posix-paths:
12
+ check-posix-paths-windows:
13
13
  runs-on: ${{ matrix.os }}
14
14
 
15
15
  strategy:
@@ -29,42 +29,70 @@ jobs:
29
29
  id: install_code
30
30
  run: bun install --frozen-lockfile
31
31
 
32
- - name: build code
32
+ - name: Build code
33
33
  id: build_code
34
34
  run: bun run build
35
35
 
36
36
  - name: Create a zip test
37
37
  id: create_zip
38
- run: node ./dist/index.js bundle zip --path test/test_upload -n build.zip
38
+ run: node ./dist/index.js bundle zip --path test/test_upload -n build-${{ matrix.os }}.zip
39
39
 
40
40
  - name: Upload build.zip artifact
41
41
  uses: actions/upload-artifact@v2
42
42
  with:
43
- name: build-zip
44
- path: build.zip
43
+ name: build-zip-${{ matrix.os }}
44
+ path: build-${{ matrix.os }}.zip
45
45
 
46
46
  check-posix-paths-unix:
47
47
  runs-on: ubuntu-latest
48
+ needs: check-posix-paths-windows
48
49
 
49
50
  steps:
50
- - name: Download build.zip artifact
51
+ - name: Checkout repository
52
+ uses: actions/checkout@v3
53
+
54
+ - name: Download build.zip artifacts
51
55
  uses: actions/download-artifact@v2
52
56
  with:
53
- name: build-zip
57
+ name: build-zip-windows-2019
58
+ path: build-windows-2019.zip
59
+
60
+ - name: Download build.zip artifacts
61
+ uses: actions/download-artifact@v2
62
+ with:
63
+ name: build-zip-windows-2022
64
+ path: build-windows-2022.zip
65
+
66
+ - name: Verify POSIX paths for Windows 2019 build
67
+ run: |
68
+ unzip build-windows-2019.zip -d extracted-2019
69
+ error_found=false
70
+ find extracted-2019 -type f | while read -r file; do
71
+ if [[ "$file" =~ "\\" ]]; then
72
+ echo "Non-POSIX path detected: $file"
73
+ error_found=true
74
+ fi
75
+ done
76
+ if [ "$error_found" = true ]; then
77
+ echo "Non-POSIX paths detected in the zip file (Windows 2019)"
78
+ exit 1
79
+ else
80
+ echo "All paths are POSIX compliant in build-windows-2019.zip."
81
+ fi
54
82
 
55
- - name: Verify POSIX paths
83
+ - name: Verify POSIX paths for Windows 2022 build
56
84
  run: |
57
- unzip build.zip -d extracted
85
+ unzip build-windows-2022.zip -d extracted-2022
58
86
  error_found=false
59
- find extracted -type f | while read -r file; do
87
+ find extracted-2022 -type f | while read -r file; do
60
88
  if [[ "$file" =~ "\\" ]]; then
61
89
  echo "Non-POSIX path detected: $file"
62
90
  error_found=true
63
91
  fi
64
92
  done
65
93
  if [ "$error_found" = true ]; then
66
- echo "Non-POSIX paths detected in the zip file"
94
+ echo "Non-POSIX paths detected in the zip file (Windows 2022)"
67
95
  exit 1
68
96
  else
69
- echo "All paths are POSIX compliant."
97
+ echo "All paths are POSIX compliant in build-windows-2022.zip."
70
98
  fi
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.10.31](https://github.com/Cap-go/CLI/compare/v4.10.30...v4.10.31) (2024-06-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * try to excrat both ([3906045](https://github.com/Cap-go/CLI/commit/39060457304f571140c7d86b2044123658937264))
11
+
12
+ ### [4.10.30](https://github.com/Cap-go/CLI/compare/v4.10.29...v4.10.30) (2024-06-21)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * add depends ([af4a12c](https://github.com/Cap-go/CLI/commit/af4a12cc771c28f4232031897898cd43be176e8c))
18
+
5
19
  ### [4.10.29](https://github.com/Cap-go/CLI/compare/v4.10.28...v4.10.29) (2024-06-21)
6
20
 
7
21
  ### [4.10.28](https://github.com/Cap-go/CLI/compare/v4.10.27...v4.10.28) (2024-06-20)
package/dist/index.js CHANGED
@@ -109059,7 +109059,7 @@ var {
109059
109059
  // package.json
109060
109060
  var package_default = {
109061
109061
  name: "@capgo/cli",
109062
- version: "4.10.29",
109062
+ version: "4.10.31",
109063
109063
  description: "A CLI to upload to capgo servers",
109064
109064
  author: "github.com/riderx",
109065
109065
  license: "Apache 2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
- "version": "4.10.29",
3
+ "version": "4.10.31",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "author": "github.com/riderx",
6
6
  "license": "Apache 2.0",