mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
[PR #333] [MERGED] bump exa plugin to version 0.0.2 #821
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugins/pull/333
Author: @Yevanchen
Created: 4/13/2025
Status: ✅ Merged
Merged: 4/14/2025
Merged by: @crazywoola
Base:
main← Head:bump-exa-plugin-0.0.2📝 Commits (1)
cab1366bump exa plugin to version 0.0.2📊 Changes
1 file changed (+0 additions, -0 deletions)
View changed files
➕
yevanchen/exa/exa-0.0.2.difypkg(+0 -0)📄 Description
Major improvements to Plugin Publish Workflow:
Trigger:
New: Triggered when a version is released (of type Published). This is the standard and recommended way to automate the release of the final version of a plugin. It aligns the creation of the PR with the actual release action.
Old: Triggered every time you push to the main branch. This isn't ideal for releases, as it creates PRs for intermediate commits as well, which can be disruptive.
Generality & Reusability:
NEW: Read the name, version, and author of the plugin directly from the manifest.yaml file. It uses these variables (e.g., ${{ steps.get_basic_info.outputs.plugin_name }}, etc.) throughout the workflow to build package names, branch names, commit information, PR details, and checkout paths. This allows the workflow to be highly reusable to any Dify plugin, not just 'exa'.
Old: Hard-coded values (package name, branch name, commit info, PR details, checkout path) for the 'exa' plugin and 'Yevanchen' author throughout the script. It's just tailor-made for the 'exa' plugin for 'Yevanchen'.
Branch Naming:
NEW: Create more descriptive and generic branch names in the format bump-<plugin_name>-plugin-.
Old: Used the specific branch name update-exa-plugin-.
Commit Message & PR Details:
New: Use a generic commit information and PR title/body based on the plugin name and version in the manifest file.
Old: Specific information/title/body for the 'exa' plugin was used.
Target Repository Checkout:
NEW: Use repository: ${{steps.get_basic_info.outputs.author}}/dify-plugins to dynamically determine the author's fork repository address.
Old: Hardcoded to repository: Yevanchen/dify-plugins.
CLI Tool Location:
NEW: Download the CLI tool to $RUNNER_TEMP/bin, which is a standard runner temp directory to keep your workspace tidier.
Old: Download to $GITHUB_WORKSPACE/bin.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.