Skip to content

Add plugin updater #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025
Merged

Add plugin updater #7

merged 1 commit into from
Jun 11, 2025

Conversation

soderlind
Copy link
Owner

This pull request introduces several changes to improve the plugin's update process, automate release workflows, and enhance maintainability. The most significant updates include adding GitHub Actions workflows for building and releasing zip files, integrating the plugin-update-checker library for GitHub-based updates, and restructuring composer.json dependencies.

Automation and CI/CD Enhancements:

Plugin Update Integration:

  • class-additional-javascript-updater.php: Introduced a new class, Additional_JavaScript_Updater, to handle plugin updates directly from GitHub using the plugin-update-checker library.
  • additional-javascript.php: Initialized the Additional_JavaScript_Updater class and added constants for plugin metadata (ADDITIONAL_JAVASCRIPT_VERSION, ADDITIONAL_JAVASCRIPT_FILE, and ADDITIONAL_JAVASCRIPT_PATH).

Dependency Management:

  • composer.json: Removed development dependencies and added the yahnis-elsts/plugin-update-checker library to enable GitHub-based update checking.

@soderlind soderlind merged commit f75e4fa into master Jun 11, 2025
2 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.

1 participant