mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
This cleanup commit resolves the issue where the branch was accidentally based on master instead of v3-alpha. It removes all master-specific files, restores any v3-alpha files to their correct state, and ensures only the 3 intended bugfix changes differ from v3-alpha: - v3/pkg/application/webview_window_windows.go - v3/pkg/w32/constants.go - v3/pkg/w32/user32.go
1.4 KiB
1.4 KiB
Testing the Nightly Release Workflow
Method 1: Fork Testing (Recommended)
- Create a fork of the Wails repository
- Push the workflow to your fork
- Test manually using
workflow_dispatch - Verify behavior without affecting main repo
# In your fork
git remote add upstream https://github.com/wailsapp/wails.git
git push origin master # Push workflow to your fork
Method 2: Local Script Testing
Create local test scripts to validate the logic:
# Test changelog parsing
./test-changelog-extraction.sh
# Test version increment logic
./test-version-logic.sh
# Test commit analysis
./test-commit-detection.sh
Method 3: Dry Run Workflow
Add a dry_run input parameter to test without creating releases:
workflow_dispatch:
inputs:
dry_run:
description: 'Run in dry-run mode (no releases created)'
default: true
type: boolean
Method 4: Act (GitHub Actions Local Runner)
Use act to run GitHub Actions locally:
brew install act
act workflow_dispatch -W .github/workflows/nightly-releases.yml
Testing Checklist
- Changelog parsing works correctly
- Version increment logic is accurate
- Conventional commit detection works
- Release notes format properly
- Authorization checks function
- Branch handling (master vs v3-alpha)
- Error handling and fallbacks