Upgrade

Provides in-place version upgrades using GitHub Releases

Technology

The upgrade module provides automated in-place version upgrades for Project Forge applications using GitHub Releases. It enables applications to update themselves to the latest version without manual intervention.

Overview

This module adds self-upgrade capabilities to Project Forge applications by:

Key Features

Automated Updates

Safety & Reliability

User Experience

Usage

Basic Upgrade Command

1
2
3
4
5
6
7
8
# Upgrade to the latest release
./your-app upgrade

# Check for available upgrades without installing
./your-app upgrade --check

# Upgrade to a specific version
./your-app upgrade --version v1.2.3

Command Options

Package Structure

Core Components

Libraries

Troubleshooting

Common Issues

Network/GitHub API Issues: - Set GITHUB_TOKEN for higher rate limits - Check firewall settings for GitHub API access - Verify repository configuration

Source Code

See Also