Conversation
This workflow automatically marks and closes stale issues and pull requests based on inactivity.
* feat: Add unified installer script for HypnoScript runtime - Introduced `install.sh` for automatic installation, updates, and uninstallation of HypnoScript runtime. - Updated GitHub Actions workflow to include the installer in release artifacts. - Enhanced documentation to include instructions for using the new installer. - Added self-update functionality to the CLI for checking and installing the latest version. - Updated package dependencies in `Cargo.toml` for improved functionality. - Modified build scripts to copy the new installer script into release packages. * fix: Update regex patterns for branch type matching in labeler configuration
There was a problem hiding this comment.
Pull Request Overview
This pull request prepares the 1.0.0-rc2 release by introducing a unified installer workflow, self-update capabilities for the CLI, and improved release automation. The changes streamline installation, updates, and distribution across Linux/macOS platforms.
Key Changes
- Added unified
install.shinstaller with auto-detection, update, and uninstall capabilities - Implemented
hypnoscript self-updatecommand for checking and applying updates - Updated release automation to include installer in packages and deploy documentation to GitHub Pages
Reviewed Changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| Cargo.toml | Updated workspace version to 1.0.0-rc2 and edition (contains invalid edition) |
| package.json | Bumped version to 1.0.0-rc2 |
| install.sh | New unified installer script for Linux/macOS with update/uninstall support |
| scripts/build_macos.ps1 | Changed to copy installer from project root instead of generating inline |
| scripts/build_linux.ps1 | Changed to copy installer from project root with warning message inconsistency |
| scripts/README.md | Updated documentation to reflect unified installer |
| hypnoscript-cli/src/main.rs | Added self-update command implementation with platform-specific logic |
| hypnoscript-cli/Cargo.toml | Added dependencies for self-update: semver, serde, serde_json, ureq |
| hypnoscript-docs/scripts/sync-installer.mjs | New script to sync installer to docs static folder |
| hypnoscript-docs/package.json | Added pre-hooks to sync installer before build/dev/preview |
| hypnoscript-docs/docs/getting-started/installation.md | Added installer documentation with options and deinstallation guide |
| README.md | Updated with installer usage, update commands, and deinstallation instructions |
| .gitignore | Added hypnoscript-docs/static/install.sh to ignore list |
| .github/workflows/rust-build-and-release.yml | Added installer to releases, automated docs publishing to GitHub Pages |
| .github/labeler.yml | Attempted to update branch patterns but introduced YAML syntax errors |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
… für bessere Lesbarkeit und Sicherheit
…einfachung von Bedingungen in mehreren Dateien
…e die Lesbarkeit von Bedingungen in mehreren Dateien
…rkeit der Bedingung in `find_shared_installer`
…self_update` für bessere Lesbarkeit
…ierung hinzu; verbessere CLI-Befehlsübersicht und Installationstext
… Ausgaben, um die Konsistenz zu verbessern und die Benutzererfahrung zu vereinfachen.
…ge als informativ, um übermäßige Warnungen zu vermeiden.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 29 out of 30 changed files in this pull request and generated 15 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…e Umgebungsvariablenbehandlung; füge Sicherheitswarnungen hinzu und optimiere die Fehlerbehandlung in der Skriptlogik.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 29 out of 30 changed files in this pull request and generated 8 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…re die Fehlerbehandlung im Installer-Skript.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 35 out of 36 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…urch Vereinfachung der Funktionsaufrufe zur Ableitung des Installationspfads.
…r Winget-Manifestdatei; füge ein Skript zur Synchronisierung der Version hinzu.
…staktualisierungsprozess
This pull request introduces a unified installer workflow for HypnoScript, improves release automation, and adds self-update capabilities to the CLI. The changes streamline how releases are packaged, documented, and distributed, making it easier for users to install, update, and maintain HypnoScript across platforms. Documentation and automation scripts are updated to reflect these improvements.
Installer & CLI Improvements
install.shinstaller for Linux/macOS, supporting auto-detection, updates, and uninstallation. The installer is now included in release archives and documentation assets. [1] [2] [3] [4] [5]self-updatecommand inhypnoscript-clifor checking and applying updates, with options for prerelease versions, forced installs, quiet mode, and uninstall. [1] [2] [3] [4]Documentation Updates
README.mdand documentation to describe the new installer, self-update workflow, options, and deinstallation process. [1] [2] [3]Release Automation
.github/labeler.yml.Other