Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,14 @@ jobs:
name: VirusTotal scan
needs: build
runs-on: ubuntu-latest
if: secrets.VT_API_KEY != ''
timeout-minutes: 15
# Do NOT gate this job with `if: secrets.VT_API_KEY != ''` -- the
# `secrets` context is not allowed in `if:` conditions, which makes the
# ENTIRE workflow file invalid (it parses to 0 jobs and every run fails
# before anything builds). Expose the key as env and gate the step
# instead; `env` IS allowed in a step-level `if`.
env:
VT_API_KEY: ${{ secrets.VT_API_KEY }}

steps:
- name: Download installer
Expand All @@ -169,9 +175,10 @@ jobs:
path: artifact

- name: Scan via VirusTotal
if: env.VT_API_KEY != ''
uses: crazy-max/ghaction-virustotal@v4
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
vt_api_key: ${{ env.VT_API_KEY }}
files: |
artifact/*.exe

Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
All notable changes to OpenFOV are documented here.
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [0.2.0] — Head-tracking feel + game-contention performance
## [0.2.1] — Head-tracking feel + game-contention performance

> First build actually published by CI. v0.2.0 was tagged but never
> shipped: the release workflow used `secrets` in a job `if:` condition,
> which GitHub rejects, so the file never parsed and no installer was ever
> built. Fixed in this release.

### Added
- Global hotkey (default **F10**) to toggle inference on/off entirely.
Expand Down
4 changes: 2 additions & 2 deletions build/nuitka_build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Where to write the standalone folder. Defaults to dist/.

.PARAMETER Version
Version string baked into the exe metadata. Default 0.2.0.0.
Version string baked into the exe metadata. Default 0.2.1.0.

.NOTES
On CI (windows-latest), Python 3.12 + Nuitka 2.7+ should already be
Expand All @@ -30,7 +30,7 @@
[CmdletBinding()]
param(
[string]$OutDir = "",
[string]$Version = "0.2.0.0",
[string]$Version = "0.2.1.0",
[string]$PythonExe = ""
)

Expand Down
4 changes: 2 additions & 2 deletions installer/build_installer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@

.PARAMETER Version
Version string passed to Inno Setup via /DMyAppVersion. Defaults to
0.2.0 -- keep in sync with pyproject.toml [project.version].
0.2.1 -- keep in sync with pyproject.toml [project.version].
#>

[CmdletBinding()]
param(
[string]$ISCC = "C:\Program Files (x86)\Inno Setup 6\ISCC.exe",
[switch]$SkipRedistDownload,
[string]$Version = "0.2.0"
[string]$Version = "0.2.1"
)

$ErrorActionPreference = "Stop"
Expand Down
2 changes: 1 addition & 1 deletion installer/openfov.iss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef MyAppVersion
; Keep in sync with pyproject.toml [project.version]. CI can override
; with `iscc /DMyAppVersion=1.2.3 installer/openfov.iss`.
#define MyAppVersion "0.2.0"
#define MyAppVersion "0.2.1"
#endif

[Setup]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "openfov"
version = "0.2.0"
version = "0.2.1"
description = "Webcam head tracking for iRacing and other sim/flight games."
readme = "README.md"
requires-python = ">=3.11"
Expand Down
2 changes: 1 addition & 1 deletion src/openfov/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""OpenFOV — webcam head tracking for sim/flight games."""

__version__ = "0.2.0"
__version__ = "0.2.1"
Loading