release branch from preview ci
This commit is contained in:
parent
94a4200327
commit
8b401423bb
4 changed files with 43 additions and 1 deletions
30
.github/workflows/preview.yaml
vendored
30
.github/workflows/preview.yaml
vendored
|
|
@ -185,6 +185,36 @@ jobs:
|
|||
repository: continuedev/continue
|
||||
prerelease: true
|
||||
|
||||
release-branch:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Create release branch
|
||||
run: |
|
||||
# Set up Git
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
|
||||
# Get the current version
|
||||
current_version=$(grep -o '"version": "[^"]*' extensions/vscode/package.json | cut -d'"' -f4)
|
||||
|
||||
# Create a new branch name
|
||||
new_branch="release-${current_version}"
|
||||
|
||||
# Create and checkout the new branch
|
||||
git checkout -b $new_branch
|
||||
|
||||
# Push the new branch to the remote repository
|
||||
git push origin $new_branch
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
|
|
|
|||
|
|
@ -171,6 +171,9 @@ export class Core {
|
|||
|
||||
this.messenger.onError((err) => {
|
||||
console.error(err);
|
||||
Telemetry.capture("core_messenger_error", {
|
||||
message: err.message,
|
||||
});
|
||||
this.messenger.request("errorPopup", { message: err.message });
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { FromWebviewProtocol, ToWebviewProtocol } from "core/protocol";
|
||||
import { Message } from "core/util/messenger";
|
||||
import { Telemetry } from "core/util/posthog";
|
||||
import fs from "node:fs";
|
||||
import path from "path";
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
|
|
@ -153,6 +154,14 @@ export class VsCodeWebviewProtocol
|
|||
}
|
||||
});
|
||||
} else {
|
||||
Telemetry.capture(
|
||||
"webview_protocol_error",
|
||||
{
|
||||
messageType: msg.messageType,
|
||||
errorMsg: message.split("\n\n")[0],
|
||||
},
|
||||
false,
|
||||
);
|
||||
vscode.window
|
||||
.showErrorMessage(
|
||||
message.split("\n\n")[0],
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ const IndexingProgressBar = ({
|
|||
<StatusDot color={STATUS_COLORS.FAILED}></StatusDot>
|
||||
<div>
|
||||
<StatusHeading>Indexing error - click to retry</StatusHeading>
|
||||
<StatusInfo>{getIndexingErrMsg(indexingState.desc)}</StatusInfo>
|
||||
{/* <StatusInfo>{getIndexingErrMsg(indexingState.desc)}</StatusInfo> */}
|
||||
</div>
|
||||
{tooltipPortalDiv &&
|
||||
ReactDOM.createPortal(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue