Commit Graph

8 Commits

Author SHA1 Message Date
Eli Bosley
6b1171a5fa chore: enhance debugging output in PR plugin generation scripts
- Added debug statements in `generate-pr-plugin.sh` to display the tarball path, backup directory, and list of files being processed, improving visibility during deployment.
- Updated `pr-plugin-build.yml` to include output of the file list and tarball contents, aiding in verification and troubleshooting during the build process.
2025-09-10 12:30:03 -04:00
Eli Bosley
8911531676 chore: enhance PR plugin generation with optional plugin URL
- Updated `generate-pr-plugin.sh` to accept an optional plugin URL parameter for improved flexibility.
- Modified the script to generate a default plugin URL if none is provided, ensuring consistent naming conventions.
- Enhanced the GitHub Actions workflow to generate and output stable URLs for both the tarball and plugin files, facilitating easier updates.
2025-09-10 12:23:08 -04:00
Eli Bosley
72682d1812 chore: optimize file extraction in generate-pr-plugin.sh
- Updated the file extraction method in `generate-pr-plugin.sh` to use a temporary file, improving compatibility and avoiding subshell issues.
- Added cleanup for the temporary file after processing the extracted file list.
2025-09-10 12:11:50 -04:00
Eli Bosley
c10aae2dd7 chore: improve PR plugin script and update UI for testing
- Added error handling and improved variable handling in `generate-pr-plugin.sh`.
- Updated placeholder values in the generated plugin file for clarity.
- Enhanced the UI in `Plugins.page` to indicate that the page is modified for PR testing.
2025-09-10 12:07:20 -04:00
Eli Bosley
683f07c386 chore: enhance PR plugin generation and workflow for TXZ uploads
- Updated `generate-pr-plugin.sh` to include a new parameter for TXZ URL and modified usage instructions.
- Enhanced the GitHub Actions workflow to upload the TXZ file to R2 and generate the corresponding public URL.
- Improved installation instructions in the PR comment to provide direct download links for the PLG and TXZ files.
2025-09-10 12:00:07 -04:00
Eli Bosley
2ab444e463 fix: enhance compatibility in generate-pr-plugin.sh and update workflow instructions
- Modified the sed command in `generate-pr-plugin.sh` to support both Linux and macOS environments.
- Updated the `pr-plugin-build.yml` workflow documentation to include a step for creating the necessary plugin directory.
2025-09-10 11:36:35 -04:00
Eli Bosley
023ca6dfa5 fix: update plugin file paths in generate-pr-plugin.sh
- Changed the local path for the downloaded tarball to include the 'webgui-pr' directory.
- Updated the cleanup command to remove the correct plugin file based on the new path structure.
2025-09-10 11:30:15 -04:00
Eli Bosley
c932b91800 feat: add GitHub Actions workflow and script for generating PR plugins
- Introduced a new script `generate-pr-plugin.sh` to automate the creation of Unraid PR plugin files.
- Added a GitHub Actions workflow `pr-plugin-build.yml` to build and package the plugin when changes are made to the `emhttp` directory.
- The workflow includes steps for checking out code, generating versioning, creating a tarball, and uploading the plugin artifact for PR testing.
2025-09-10 11:29:36 -04:00