mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix(workflow): delete releases by tag (#728)
This commit is contained in:
@@ -72,13 +72,14 @@ describe('前端测试 workflow', () => {
|
||||
expect(workflow).toContain('run: yarn --frozen-lockfile')
|
||||
expect(workflow).toContain('echo "frontend_version=v$frontend_version"')
|
||||
expect(workflow).toContain('gh api --include')
|
||||
expect(workflow).toContain('gh release delete "$TAG_NAME"')
|
||||
expect(workflow).toContain('gh release create "$TAG_NAME"')
|
||||
expect(workflow).toContain('release_status" != "404"')
|
||||
expect(workflow).toContain('delete_status" != "404"')
|
||||
expect(workflow).toContain('git/ref/tags/${TAG_NAME}')
|
||||
expect(workflow).toContain('tag_query_status" = "200"')
|
||||
expect(workflow).toContain('tag_query_status" != "404"')
|
||||
expect(workflow).toContain('tag_delete_status" != "204"')
|
||||
expect(workflow).not.toContain("awk 'body { print; exit }")
|
||||
expect(workflow).not.toContain('dev-drprasad/delete-tag-and-release')
|
||||
expect(workflow).not.toContain('softprops/action-gh-release')
|
||||
expect(workflow).not.toContain('actions/checkout@v3')
|
||||
|
||||
Reference in New Issue
Block a user