@capgo/cli 4.10.30 → 4.10.32

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.
@@ -29,43 +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
48
  needs: check-posix-paths-windows
49
49
 
50
50
  steps:
51
- - name: Download build.zip artifact
51
+ - name: Checkout repository
52
+ uses: actions/checkout@v3
53
+
54
+ - name: Download build.zip artifacts
52
55
  uses: actions/download-artifact@v2
53
56
  with:
54
- 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 -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
55
82
 
56
- - name: Verify POSIX paths
83
+ - name: Verify POSIX paths for Windows 2022 build
57
84
  run: |
58
- unzip build.zip -d extracted
85
+ unzip build-windows-2022 -d extracted-2022
59
86
  error_found=false
60
- find extracted -type f | while read -r file; do
87
+ find extracted-2022 -type f | while read -r file; do
61
88
  if [[ "$file" =~ "\\" ]]; then
62
89
  echo "Non-POSIX path detected: $file"
63
90
  error_found=true
64
91
  fi
65
92
  done
66
93
  if [ "$error_found" = true ]; then
67
- echo "Non-POSIX paths detected in the zip file"
94
+ echo "Non-POSIX paths detected in the zip file (Windows 2022)"
68
95
  exit 1
69
96
  else
70
- echo "All paths are POSIX compliant."
97
+ echo "All paths are POSIX compliant in build-windows-2022.zip."
71
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.32](https://github.com/Cap-go/CLI/compare/v4.10.31...v4.10.32) (2024-06-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * unzip command ([3e9390a](https://github.com/Cap-go/CLI/commit/3e9390a04d3c37bbc8273bcef9b9c7b4907a0ab6))
11
+
12
+ ### [4.10.31](https://github.com/Cap-go/CLI/compare/v4.10.30...v4.10.31) (2024-06-21)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * try to excrat both ([3906045](https://github.com/Cap-go/CLI/commit/39060457304f571140c7d86b2044123658937264))
18
+
5
19
  ### [4.10.30](https://github.com/Cap-go/CLI/compare/v4.10.29...v4.10.30) (2024-06-21)
6
20
 
7
21
 
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.30",
109062
+ version: "4.10.32",
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.30",
3
+ "version": "4.10.32",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "author": "github.com/riderx",
6
6
  "license": "Apache 2.0",