Skip to content

1.0.0-rc2 - #10

Merged
JosunLP merged 26 commits into
mainfrom
dev
Nov 14, 2025
Merged

1.0.0-rc2#10
JosunLP merged 26 commits into
mainfrom
dev

Conversation

@JosunLP

@JosunLP JosunLP commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

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

  • Added a unified install.sh installer 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]
  • Implemented a new self-update command in hypnoscript-cli for checking and applying updates, with options for prerelease versions, forced installs, quiet mode, and uninstall. [1] [2] [3] [4]

Documentation Updates

  • Updated README.md and documentation to describe the new installer, self-update workflow, options, and deinstallation process. [1] [2] [3]
  • Added scripts to synchronize the installer into the documentation site before builds or previews. [1] [2]

Release Automation

  • Modified GitHub Actions workflows to include the installer in release packages and documentation artifacts, and to automate Rust documentation publishing to GitHub Pages. [1] [2] [3]
  • Improved branch pattern matching for label automation in .github/labeler.yml.

Other

  • Minor fixes to workflow YAML quoting and improved version reporting in CLI output. [1] [2]

JosunLP and others added 6 commits November 13, 2025 15:37
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
Copilot AI review requested due to automatic review settings November 13, 2025 18:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh installer with auto-detection, update, and uninstall capabilities
  • Implemented hypnoscript self-update command 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.

Comment thread .github/labeler.yml Outdated
Comment thread .github/labeler.yml Outdated
Comment thread hypnoscript-cli/src/main.rs Outdated
Comment thread install.sh
Comment thread install.sh Outdated
Comment thread .github/labeler.yml Outdated
Comment thread hypnoscript-cli/src/main.rs Outdated
Comment thread .github/workflows/rust-build-and-release.yml Outdated
Comment thread scripts/build_linux.ps1 Outdated
Comment thread install.sh Outdated
JosunLP and others added 13 commits November 13, 2025 20:26
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>
…einfachung von Bedingungen in mehreren Dateien
…e die Lesbarkeit von Bedingungen in mehreren Dateien
…rkeit der Bedingung in `find_shared_installer`
…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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread hypnoscript-cli/src/main.rs Outdated
Comment thread hypnoscript-cli/src/main.rs Outdated
Comment thread hypnoscript-cli/src/main.rs Outdated
Comment thread install.sh Outdated
Comment thread hypnoscript-runtime/src/system_builtins.rs Outdated
Comment thread .github/workflows/rust-build-and-release.yml Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread hypnoscript-cli/src/main.rs
Comment thread deny.toml
JosunLP and others added 3 commits November 13, 2025 22:20
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…e Umgebungsvariablenbehandlung; füge Sicherheitswarnungen hinzu und optimiere die Fehlerbehandlung in der Skriptlogik.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread hypnoscript-runtime/src/system_builtins.rs
Comment thread deny.toml
Comment thread hypnoscript-cli/src/main.rs Outdated
Comment thread hypnoscript-cli/src/main.rs
Comment thread .github/workflows/rust-build-and-release.yml Outdated
Comment thread hypnoscript-cli/src/main.rs Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
…re die Fehlerbehandlung im Installer-Skript.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread hypnoscript-runtime/src/system_builtins.rs Outdated
Comment thread scripts/build_winget.ps1 Outdated
…urch Vereinfachung der Funktionsaufrufe zur Ableitung des Installationspfads.
…r Winget-Manifestdatei; füge ein Skript zur Synchronisierung der Version hinzu.
@JosunLP
JosunLP merged commit 2d66f18 into main Nov 14, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants