rds_ssm_connect 1.7.9 → 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,25 +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
- BUNDLE="src-tauri/target/${{ matrix.rust_target }}/release/bundle"
91
- echo "Looking for .sig files in $BUNDLE"
92
- for sigfile in \
93
- "$BUNDLE"/macos/*.app.tar.gz.sig \
94
- "$BUNDLE"/appimage/*.AppImage.sig \
95
- "$BUNDLE"/nsis/*.nsis.zip.sig; do
96
- if [ -f "$sigfile" ]; then
97
- cp "$sigfile" "sigs/${{ matrix.rust_target }}.sig"
98
- echo "Saved: $sigfile"
99
- break
100
- fi
101
- done
102
- ls -la sigs/ 2>/dev/null || echo "No signatures saved"
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
111
+ fi
112
+ echo "=== sigs/ contents ==="
113
+ ls -la sigs/
103
114
 
104
115
  - name: Upload signature artifact
105
116
  uses: actions/upload-artifact@v4
@@ -135,7 +146,9 @@ jobs:
135
146
 
136
147
  - name: Generate latest.json
137
148
  run: |
149
+ echo "=== Downloaded signatures ==="
138
150
  ls -la sigs/ 2>/dev/null || echo "No signatures found"
151
+ cat sigs/*.sig 2>/dev/null || echo "No .sig file contents"
139
152
  node scripts/generate-update-json.js ${{ steps.version.outputs.VERSION }} https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.VERSION }} sigs
140
153
 
141
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.9' }
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.9",
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.9"
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.9",
4
+ "version": "1.7.10",
5
5
  "identifier": "com.rds-ssm-connect.desktop",
6
6
  "build": {
7
7
  "beforeDevCommand": "npm run dev:vite",