15 Commits

Author SHA1 Message Date
Jordan Bentley
b4fb563be9 don't report expected git failures as errors 2025-09-28 12:44:53 -04:00
Jordan Bentley
af6bdcae26 reduce logging 2025-09-28 12:44:53 -04:00
Jordan Bentley
bf61590516
fix canary build 2025-08-14 11:58:48 -04:00
Jordan Bentley
e45ea3c405
dont run restore-version.js on github 2025-08-13 19:03:59 -04:00
eshaffer321
c43d903a97
feat: implement canary channel publishing for automatic main branch releases (#143)
* feat: implement canary channel publishing for automatic main branch releases

Phase 1 of canary channel implementation - enables automatic publishing of canary builds:

**Infrastructure Changes:**
- Modified build.yml workflow to publish canary releases on main branch pushes
- Added canary:mac and canary:linux npm scripts that use --publish always
- Updated permissions to contents: write for release publishing

**Version Management:**
- Created prepare-canary.js script to generate unique canary versions (e.g., 0.1.17-canary.b329a36)
- Created restore-version.js script to restore original package.json after build
- Enhanced inject-build-info.js to detect and mark canary builds

**Release Strategy:**
- Canary builds now automatically create/update GitHub releases with downloadable artifacts
- Each canary version includes git commit hash for traceability
- Artifacts include DMG, AppImage, and electron-updater metadata files
- Extended artifact retention to 30 days for canary builds

**How it works:**
1. Push to main triggers GitHub Actions build workflow
2. Scripts create unique canary version number with git hash
3. electron-builder publishes to GitHub releases with --publish always
4. Version is restored to prevent git conflicts
5. Users can now download latest main branch builds from GitHub releases

Next: Phase 2 will add Settings UI toggle and electron-updater integration for automatic updates.

* test: temporarily enable canary workflow testing on canary-release branch

This allows testing the full GitHub Actions workflow without affecting main branch.
Will revert this change before final PR to only trigger on main branch pushes.

* revert: remove testing trigger, restore main-only canary publishing

Workflow now only triggers on main branch pushes as intended for production.

---------

Co-authored-by: Erick Shaffer <erick.shaffer@meraki.net>
Co-authored-by: Jordan Bentley <151466993+jordan-BAIC@users.noreply.github.com>
2025-08-07 18:54:44 -04:00
Jordan Bentley
81e31d0d32
When building PRs, create unsigned dmgs 2025-07-23 10:11:57 -04:00
Jordan Bentley
7f2e862b72
Revert "refactor: Comprehensive project root cleanup and organization (#93)"
This reverts commit 95c934cb2fb0ea9ba3aa52e27857db6492a444a0.
2025-07-22 11:51:46 -04:00
Jordan Bentley
859208196b
Revert "add -dev tag to version on non-release builds so that it doesn't get overwritten by autoupdate cache"
This reverts commit 8f50e52ddb86ec1a277eaa092ccc95720eaefc96.
2025-07-22 11:51:26 -04:00
Jordan Bentley
8f50e52ddb
add -dev tag to version on non-release builds so that it doesn't get overwritten by autoupdate cache 2025-07-21 13:36:19 -04:00
eshaffer321
95c934cb2f
refactor: Comprehensive project root cleanup and organization (#93)
This PR performs extensive cleanup of the project root directory to reduce
clutter and improve organization while maintaining all functionality.

## ๐Ÿ“ Directory Structure Improvements
- Move documentation files to `docs/`:
  - `MESSAGES_TAB_FIX.md` โ†’ `docs/MESSAGES_TAB_FIX.md`
- Create organized build structure:
  - `com.stravu.crystal.metainfo.xml` โ†’ `build/linux/`
  - `com.stravu.crystal.yml` โ†’ `build/linux/`
- Organize scripts and tests:
  - `check-license-compatibility.sh` โ†’ `scripts/`
  - `test-nested-process.sh` โ†’ `tests/`

## ๐Ÿงน Configuration File Cleanup
### Removed Redundant Files (5 files eliminated):
- Remove `frontend/vite.config.js` (duplicate of `vite.config.ts`)
- Remove `frontend/package-lock.json` (conflicts with pnpm workspace)
- Remove `.node-version` (duplicate of `.nvmrc`)
- Remove `.eslintignore` (workspace configs are sufficient)
- Remove `PR_DESCRIPTION.md` (PR-specific, not needed in repo)

### Playwright Configuration Consolidation:
- **Before**: 3 separate config files (`playwright.config.ts`, `playwright.ci.config.ts`, `playwright.ci.minimal.config.ts`)
- **After**: 1 environment-driven config using `CI` and `PLAYWRIGHT_MINIMAL` variables
- Updated package.json scripts to use environment variables instead of separate configs
- **67% reduction** in Playwright config files while maintaining all functionality

## ๐Ÿ”ง Reference Updates
- Update `docs/LICENSE-COMPATIBILITY.md` script references
- Update `scripts/build-flatpak.sh` Linux file paths
- Update `.github/workflows/license-compliance.yml` script path
- Update `.gitignore` to track `build/linux/` directory
- Update package.json test scripts for consolidated Playwright config

## โœจ Results
### File Count Reduction:
- **5 redundant configuration files** removed
- **3 Playwright configs** โ†’ **1 environment-driven config**
- **6 dot files** โ†’ **4 essential dot files**

### Better Organization:
- โœ… Clean project root with only essential files
- โœ… Logical directory structure (build/, docs/, scripts/, tests/)
- โœ… No duplicate or conflicting configuration files
- โœ… Environment-driven configuration over multiple files

### Maintained Functionality:
- โœ… All CI workflows updated and passing
- โœ… All build processes preserved
- โœ… All test configurations preserved
- โœ… Workspace isolation maintained

This cleanup significantly improves the developer experience while ensuring
no functionality is lost. The project is now better organized and easier
to navigate and maintain.

Co-authored-by: Erick Shaffer <erick.shaffer@meraki.net>
Co-authored-by: Jordan Bentley <151466993+jordan-BAIC@users.noreply.github.com>
2025-07-21 12:24:08 -04:00
Jordan Bentley
39c16cb2ff
show build commit on built artifacts 2025-07-20 16:38:04 -04:00
Jordan Bentley
d63a8dfcd1
show build info in about crystal panel 2025-06-24 19:30:59 -04:00
Jordan Bentley
112b7a7c6a
attempt a linux flatpack 2025-06-19 09:44:15 -04:00
Jordan Bentley
201d63115a
license compliance file 2025-06-16 15:38:34 -04:00
Jordan Bentley
c2ae680c19
build notices file 2025-06-16 15:22:30 -04:00