Skip to content

feat: 添加预发布工作流以支持合并后的版本更新#44

Merged
adlsdztony merged 3 commits into
devfrom
feat/github-action
Apr 15, 2025
Merged

feat: 添加预发布工作流以支持合并后的版本更新#44
adlsdztony merged 3 commits into
devfrom
feat/github-action

Conversation

@adlsdztony
Copy link
Copy Markdown
Member

No description provided.

@adlsdztony adlsdztony requested a review from Copilot April 15, 2025 04:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/pre-release.yml Outdated
@adlsdztony adlsdztony requested a review from Copilot April 15, 2025 04:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/pre-release.yml Outdated
- name: Update version in Help.js
run: |
$content = Get-Content scripts/help/jsx/Help.js
$content = $content -replace 'innerText: "v.*?"', "innerText: '$env:PRE_VERSION'"
Copy link

Copilot AI Apr 15, 2025

Choose a reason for hiding this comment

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

The updated content in Help.js is not being saved to disk. Consider adding a command like 'Set-Content scripts/help/jsx/Help.js -Value $content' after the replacement to persist the changes.

Suggested change
$content = $content -replace 'innerText: "v.*?"', "innerText: '$env:PRE_VERSION'"
$content = $content -replace 'innerText: "v.*?"', "innerText: '$env:PRE_VERSION'"
Set-Content scripts/help/jsx/Help.js -Value $content

Copilot uses AI. Check for mistakes.
@adlsdztony adlsdztony merged commit c502dfe into dev Apr 15, 2025
@adlsdztony adlsdztony deleted the feat/github-action branch April 15, 2025 04:56
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