-
Notifications
You must be signed in to change notification settings - Fork 0
75 lines (64 loc) · 2.51 KB
/
Copy pathrelease.yml
File metadata and controls
75 lines (64 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Build and Release
on:
push:
tags:
- "v*.*.*"
workflow_dispatch:
inputs:
tag:
description: "Tag to release (e.g. v1.1)"
required: true
permissions:
contents: write
jobs:
build-and-release:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Show Xcode version
run: xcodebuild -version
- name: Build (ad-hoc signed Release)
run: |
xcodebuild -project RemoteLocalhost.xcodeproj \
-scheme RemoteLocalhost \
-configuration Release \
-derivedDataPath build \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=YES \
build
- name: Zip app bundle
run: |
cd build/Build/Products/Release
ditto -c -k --sequesterRsrc --keepParent RemoteLocalhost.app RemoteLocalhost.zip
- name: Determine tag
id: tag
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "name=${{ github.event.inputs.tag }}" >> "$GITHUB_OUTPUT"
else
echo "name=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT"
fi
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.tag.outputs.name }}
name: ${{ steps.tag.outputs.name }}
files: build/Build/Products/Release/RemoteLocalhost.zip
body: |
## Features
- Menu bar only — no dock icon, no main window.
- Multiple named tunnels, each with its own host, ports, and credentials.
- Auth via SSH key (with optional passphrase) or password — connects non-interactively, no terminal prompts.
- Configurable remote bind host (`127.0.0.1`, `localhost`, or a custom address).
- Live status per tunnel with logs for debugging auth/forwarding failures.
- Optional auto-start per tunnel on app launch.
- "Clear Stale" cleans up dead tunnels and orphaned SSH processes.
- Tunnels persist across launches.
## Install
1. Download `RemoteLocalhost.zip` below and unzip it.
2. Move `RemoteLocalhost.app` to `/Applications`.
3. Right-click the app and choose **Open** the first time (it's ad-hoc signed, not notarized, so Gatekeeper will otherwise block it as from an "unidentified developer").
## Requirements
macOS 13.0+