Tons of Stuff
Some checks failed
Deploy Backend to Docker / deploy (push) Failing after 6m13s
Deploy Backend to Docker / deploy-portainer (push) Has been skipped

This commit is contained in:
2025-12-03 20:19:40 -05:00
parent 0b86c88eb4
commit b7c2e0fc24
19 changed files with 1783 additions and 134 deletions

View File

@@ -0,0 +1,49 @@
# Gitea Actions - Release Workflow
This workflow automatically builds and releases rmtPocketWatcher for Windows and Linux when you push a version tag.
## How to Trigger a Release
1. Update version in `electron-app/package.json`:
```bash
cd electron-app
npm version patch # or minor, or major
```
2. Push the tag to Gitea:
```bash
git push origin main
git push origin --tags
```
3. The workflow will automatically:
- Build Windows installer (.exe)
- Build Linux AppImage and .deb package
- Create a GitHub/Gitea release
- Upload all binaries to the release
## Requirements
- Gitea Actions must be enabled on your repository
- Runners must be configured for `windows-latest` and `ubuntu-latest`
- Repository must have write permissions for releases
## Manual Build
To build locally without releasing:
```bash
cd electron-app
npm run electron:build -- --win # Windows
npm run electron:build -- --linux # Linux
```
Outputs will be in `electron-app/release/`
## Troubleshooting
If the workflow fails:
- Check that Node.js 20 is available on runners
- Verify all dependencies install correctly
- Check Gitea Actions logs for specific errors
- Ensure GITHUB_TOKEN has proper permissions