rds_ssm_connect 1.7.8 → 1.7.10

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.
@@ -59,6 +59,10 @@ jobs:
59
59
  sudo apt-get update
60
60
  sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
61
61
 
62
+ - name: Install dependencies (macOS)
63
+ if: startsWith(matrix.platform, 'macos')
64
+ run: brew install pango
65
+
62
66
  - name: Install frontend dependencies
63
67
  run: npm ci
64
68
 
@@ -70,6 +74,7 @@ jobs:
70
74
  rm src-tauri/binaries/gui-adapter-bundle.cjs
71
75
 
72
76
  - name: Build Tauri app
77
+ id: tauri
73
78
  uses: tauri-apps/tauri-action@v0
74
79
  env:
75
80
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -81,16 +86,31 @@ jobs:
81
86
  releaseBody: 'See the assets to download this version and install.'
82
87
  releaseDraft: true
83
88
  prerelease: false
89
+ includeUpdaterJson: false
84
90
  args: --target ${{ matrix.rust_target }}
85
91
 
86
92
  - name: Save updater signature
87
93
  shell: bash
94
+ env:
95
+ ARTIFACT_PATHS: ${{ steps.tauri.outputs.artifactPaths }}
88
96
  run: |
89
97
  mkdir -p sigs
90
- SIG=$(find src-tauri/target/${{ matrix.rust_target }}/release/bundle -name '*.app.tar.gz.sig' -o -name '*.AppImage.sig' -o -name '*.nsis.zip.sig' 2>/dev/null | head -1)
91
- if [ -n "$SIG" ] && [ -f "$SIG" ]; then
92
- cp "$SIG" "sigs/${{ matrix.rust_target }}.sig"
98
+ echo "=== All artifact paths ==="
99
+ echo "$ARTIFACT_PATHS" | jq '.' 2>/dev/null || echo "$ARTIFACT_PATHS"
100
+ echo "=== Looking for .sig files ==="
101
+ SIG_PATH=$(echo "$ARTIFACT_PATHS" | jq -r '.[] | select(endswith(".sig"))' 2>/dev/null | head -1)
102
+ echo "Sig path from artifacts: ${SIG_PATH:-none}"
103
+ if [ -n "$SIG_PATH" ] && [ -f "$SIG_PATH" ]; then
104
+ cp "$SIG_PATH" "sigs/${{ matrix.rust_target }}.sig"
105
+ echo "Saved signature ($(wc -c < "sigs/${{ matrix.rust_target }}.sig") bytes)"
106
+ else
107
+ echo "=== Sig not found via artifactPaths, searching filesystem ==="
108
+ find "src-tauri/target/${{ matrix.rust_target }}/release/bundle" -name '*.sig' -type f 2>/dev/null || echo "No .sig files found"
109
+ echo "=== All bundle files ==="
110
+ find "src-tauri/target/${{ matrix.rust_target }}/release/bundle" -type f 2>/dev/null | head -30
93
111
  fi
112
+ echo "=== sigs/ contents ==="
113
+ ls -la sigs/
94
114
 
95
115
  - name: Upload signature artifact
96
116
  uses: actions/upload-artifact@v4
@@ -126,7 +146,9 @@ jobs:
126
146
 
127
147
  - name: Generate latest.json
128
148
  run: |
149
+ echo "=== Downloaded signatures ==="
129
150
  ls -la sigs/ 2>/dev/null || echo "No signatures found"
151
+ cat sigs/*.sig 2>/dev/null || echo "No .sig file contents"
130
152
  node scripts/generate-update-json.js ${{ steps.version.outputs.VERSION }} https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.VERSION }} sigs
131
153
 
132
154
  - name: Upload latest.json to release
package/connect.js CHANGED
@@ -10,7 +10,7 @@ import { promisify } from 'node:util'
10
10
  import { PROJECT_CONFIGS } from './envPortMapping.js'
11
11
 
12
12
  // Package info for version checking
13
- const packageJson = { name: 'rds_ssm_connect', version: '1.7.8' }
13
+ const packageJson = { name: 'rds_ssm_connect', version: '1.7.10' }
14
14
 
15
15
  const execAsync = promisify(exec)
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rds_ssm_connect",
3
- "version": "1.7.8",
3
+ "version": "1.7.10",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rds-ssm-connect"
3
- version = "1.7.8"
3
+ version = "1.7.10"
4
4
  description = "Secure RDS connections through AWS SSM"
5
5
  authors = ["Iaroslav Pyrogov"]
6
6
  edition = "2024"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://schema.tauri.app/config/2",
3
3
  "productName": "RDS SSM Connect",
4
- "version": "1.7.8",
4
+ "version": "1.7.10",
5
5
  "identifier": "com.rds-ssm-connect.desktop",
6
6
  "build": {
7
7
  "beforeDevCommand": "npm run dev:vite",