This document explains how to create releases for your Hydra fork with local backup functionality.
The release process is automated through GitHub Actions. When you create a version tag, it will:
- Build Windows portable executable (.exe)
- Build Linux packages (.deb, .AppImage, etc.)
- Create a GitHub release with all build artifacts
- Upload the files for users to download
- Your fork must have GitHub Actions enabled
- The
GITHUB_TOKENis automatically provided by GitHub Actions (no setup needed)
# Run the release script
./scripts/create-release.sh
# Or specify a version directly
./scripts/create-release.sh 1.0.0This script will:
- Update the version in
package.json - Commit the version change
- Create and push a git tag
- Trigger the GitHub Actions workflow
-
Update the version in
package.json:npm version 1.0.0 --no-git-tag-version
-
Commit the version bump:
git add package.json git commit -m "Bump version to 1.0.0" -
Create and push the tag:
git tag v1.0.0 git push origin main git push origin v1.0.0
The release workflow builds:
hydralauncher-X.X.X-portable.exe- Portable executable (no installation required)hydralauncher-X.X.X-setup.exe- Full installer
hydralauncher-X.X.X.AppImage- Portable Linux applicationhydralauncher_X.X.X.deb- Debian package- Other Linux formats (.rpm, .tar.gz, etc.)
Your fork includes local backup functionality that allows users to:
- Create save game backups locally (without paid cloud service)
- Restore backups from local storage
- Manage backup files (freeze, delete, rename)
- Access backup management through the game details page
This provides a free alternative to the paid cloud backup service in the original Hydra launcher.
- Go to your repository on GitHub
- Click the "Actions" tab
- Find the "Release" workflow
- Monitor the build progress for Windows and Linux
- Check the Actions logs for specific error messages
- Ensure all dependencies are properly listed in
package.json - Verify that the local backup code doesn't have TypeScript errors
- Make sure the tag follows the format
vX.X.X(e.g.,v1.0.0) - Check that GitHub Actions are enabled in your repository settings
- Verify the
GITHUB_TOKENhas proper permissions
- Check the
electron-builder.ymlconfiguration - Ensure the build artifacts are being generated in the
dist/directory - Review the file patterns in the release workflow
Once the release is created, users can download:
- Windows users: Download the
-portable.exefile for a portable version that doesn't require installation - Linux users: Download the
.AppImagefile for a portable version, or the.debpackage for installation
The portable versions include all the local backup functionality and don't require any server setup or paid subscriptions.