Skip to content

Commit 347fdb6

Browse files
committed
Release unsigned Flightpatch 0.4.1 beta
1 parent 90d3f15 commit 347fdb6

3 files changed

Lines changed: 32 additions & 2 deletions

File tree

.github/workflows/build-decoders.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,25 @@ on:
99
push:
1010
tags: ['decoders-*', 'v*']
1111

12+
permissions:
13+
contents: write
14+
1215
jobs:
16+
prepare-release:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Create GitHub release for tag
20+
if: startsWith(github.ref, 'refs/tags/')
21+
run: |
22+
gh release view "${GITHUB_REF_NAME}" --repo "${GITHUB_REPOSITORY}" ||
23+
gh release create "${GITHUB_REF_NAME}" --repo "${GITHUB_REPOSITORY}" \
24+
--title "Flightpatch ${GITHUB_REF_NAME}" \
25+
--notes "Unsigned Flightpatch Windows beta. Windows may show SmartScreen warnings; see https://flightpatch.app for installation guidance."
26+
env:
27+
GH_TOKEN: ${{ github.token }}
28+
1329
dumpvdl2-windows:
30+
needs: prepare-release
1431
runs-on: windows-latest
1532
defaults:
1633
run:
@@ -95,6 +112,7 @@ jobs:
95112
# *redistributable* (a downloadable msi, not a full WDK install) supplies the
96113
# driver co-installers, so no local WDK — which is what broke the earlier try.
97114
wdi-simple-windows:
115+
needs: prepare-release
98116
runs-on: windows-latest
99117
defaults:
100118
run:
@@ -147,6 +165,7 @@ jobs:
147165
# feed.adsbiq.com:30004). MalcolmRobb/dump1090 is Windows-aware (#ifndef _WIN32)
148166
# and Beast-capable; built under MSYS2 like the VDL2 decoder.
149167
dump1090-windows:
168+
needs: prepare-release
150169
runs-on: windows-latest
151170
defaults:
152171
run:
@@ -245,3 +264,14 @@ jobs:
245264
name: flightpatch-setup-unsigned
246265
path: installer/out/*.exe
247266
if-no-files-found: error
267+
268+
- name: Attach unsigned installer and update binary to release
269+
if: startsWith(github.ref, 'refs/tags/')
270+
shell: bash
271+
run: |
272+
set -euxo pipefail
273+
cp installer/dist/adsbiq-feed-agent.exe \
274+
installer/out/adsbiq-feed-agent-windows-amd64.exe
275+
gh release upload "${GITHUB_REF_NAME}" installer/out/*.exe --clobber
276+
env:
277+
GH_TOKEN: ${{ github.token }}

agent/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
)
2626

2727
// Version is stamped into telemetry and drives auto-update comparisons.
28-
const Version = "0.4.0"
28+
const Version = "0.4.1"
2929

3030
func platformString() string { return runtime.GOOS + "/" + runtime.GOARCH }
3131

installer/flightpatch.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
; assemble them from the CI artifacts. Compile with: iscc flightpatch.iss
1111

1212
#define AppName "Flightpatch"
13-
#define AppVer "0.4.0"
13+
#define AppVer "0.4.1"
1414
#define AppPublisher "ADSBiq"
1515
#define AppURL "https://flightpatch.app/airport"
1616
; RTL2832U (all RTL-SDR dongles): USB VID 0x0BDA, PID 0x2838

0 commit comments

Comments
 (0)