@capgo/cli 4.10.28 → 4.10.29

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.
@@ -37,26 +37,34 @@ jobs:
37
37
  id: create_zip
38
38
  run: node ./dist/index.js bundle zip --path test/test_upload -n build.zip
39
39
 
40
- # - name: Run POSIX path check
41
- # run: bun run check-posix-paths
40
+ - name: Upload build.zip artifact
41
+ uses: actions/upload-artifact@v2
42
+ with:
43
+ name: build-zip
44
+ path: build.zip
45
+
46
+ check-posix-paths-unix:
47
+ runs-on: ubuntu-latest
42
48
 
43
- - name: Extract build.zip
44
- run: Expand-Archive -Path build.zip -DestinationPath extracted
49
+ steps:
50
+ - name: Download build.zip artifact
51
+ uses: actions/download-artifact@v2
52
+ with:
53
+ name: build-zip
45
54
 
46
55
  - name: Verify POSIX paths
47
56
  run: |
48
- $errorFound = $false
49
- Get-ChildItem -Recurse extracted | ForEach-Object {
50
- if ($_ -is [System.IO.DirectoryInfo]) {
51
- $path = $_.FullName
52
- if ($path -match '[\\]') {
53
- Write-Output "Non-POSIX path detected: $path"
54
- $errorFound = $true
55
- }
56
- }
57
- }
58
- if ($errorFound) {
59
- Write-Error "Non-POSIX paths detected in the zip file"
60
- } else {
61
- Write-Output "All paths are POSIX compliant."
62
- }
57
+ unzip build.zip -d extracted
58
+ error_found=false
59
+ find extracted -type f | while read -r file; do
60
+ if [[ "$file" =~ "\\" ]]; then
61
+ echo "Non-POSIX path detected: $file"
62
+ error_found=true
63
+ fi
64
+ done
65
+ if [ "$error_found" = true ]; then
66
+ echo "Non-POSIX paths detected in the zip file"
67
+ exit 1
68
+ else
69
+ echo "All paths are POSIX compliant."
70
+ fi
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
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.29](https://github.com/Cap-go/CLI/compare/v4.10.28...v4.10.29) (2024-06-21)
6
+
5
7
  ### [4.10.28](https://github.com/Cap-go/CLI/compare/v4.10.27...v4.10.28) (2024-06-20)
6
8
 
7
9
 
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.28",
109062
+ version: "4.10.29",
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.28",
3
+ "version": "4.10.29",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "author": "github.com/riderx",
6
6
  "license": "Apache 2.0",