mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 23:25:24 +00:00
feat: beta channels for core and plugins with one stable/beta release workflow
This commit is contained in:
1 parent
6a855c0fa8
commit
f73c4b5ad6
55 files changed
+16200
-460
No files matched your search
+19
-5
@@ -87,15 +87,29 @@ export function describeEnvironment(
|
||||
}
|
||||
|
||||
/** A bug report on the Termix core repo. */
|
||||
export function reportCoreIssueUrl(
|
||||
termixVersion?: string,
|
||||
template: "bug_report.yml" | "beta_feedback.yml" = "bug_report.yml",
|
||||
): string {
|
||||
export function reportCoreIssueUrl(termixVersion?: string): string {
|
||||
return buildIssueUrl(CORE_REPO_URL, {
|
||||
template,
|
||||
template: "bug_report.yml",
|
||||
fields: {
|
||||
"termix-version": termixVersion,
|
||||
environment: describeEnvironment(),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/** Beta feedback on the core repo, listing every plugin running a beta. */
|
||||
export function reportBetaFeedbackUrl(
|
||||
termixVersion?: string,
|
||||
betaPlugins: Array<{ id: string; version: string }> = [],
|
||||
): string {
|
||||
return buildIssueUrl(CORE_REPO_URL, {
|
||||
template: "beta_feedback.yml",
|
||||
fields: {
|
||||
"termix-version": termixVersion,
|
||||
environment: describeEnvironment(),
|
||||
"beta-plugins": betaPlugins
|
||||
.map((plugin) => `${plugin.id} ${plugin.version}`)
|
||||
.join("\n"),
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user