Compare commits

...

9 Commits

Author SHA1 Message Date
Dax Raad
733c9903ec do not snapshot nongit projects for now 2025-07-20 13:59:30 -04:00
Frank
7306e20361 wip: vscode extension 2025-07-20 13:31:16 -04:00
Frank
b4c7042c17 wip: vscode extension 2025-07-20 13:27:37 -04:00
Frank
6965787b33 wip: vscode extension 2025-07-20 13:17:51 -04:00
Frank
ce064b8b0e wip: github action 2025-07-20 13:14:14 -04:00
Frank
0fc546fc6b wip: vscode extension 2025-07-20 13:13:18 -04:00
Frank
77ac9e5ec2 wip: github action 2025-07-20 13:13:00 -04:00
Frank
af2c0b3695 wip: github action 2025-07-20 13:07:48 -04:00
Frank
811b22367d wip: github action 2025-07-20 12:41:02 -04:00
6 changed files with 11 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ on:
push:
tags:
- "github-v*.*.*"
- "!github-v1"
concurrency: ${{ github.workflow }}-${{ github.ref }}
@@ -25,5 +26,5 @@ jobs:
run: |
git config --global user.email "opencode@sst.dev"
git config --global user.name "opencode"
./scripts/publish
./script/publish
working-directory: ./sdks/github

View File

@@ -33,3 +33,4 @@ jobs:
working-directory: ./sdks/vscode
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }}

View File

@@ -14,6 +14,7 @@ export namespace Snapshot {
// not a git repo, check if too big to snapshot
if (!app.git) {
return
const files = await Ripgrep.files({
cwd: app.path.cwd,
limit: 1000,

View File

@@ -12,4 +12,4 @@ echo "Latest tag: $latest_tag"
git tag -d github-v1
git push origin :refs/tags/github-v1
git tag -a github-v1 $latest_tag -m "Update github-v1 to $latest_tag"
git push origin github-v1
git push origin github-v1

View File

@@ -15,7 +15,7 @@
"theme": "dark"
},
"engines": {
"vscode": "^1.102.0"
"vscode": "^1.94.0"
},
"categories": [
"Other"
@@ -62,7 +62,7 @@
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.102.0",
"@types/vscode": "^1.94.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.31.1",

View File

@@ -14,4 +14,7 @@ echo "Latest version: $version"
vsce package --no-git-tag-version --no-update-package-json --no-dependencies --skip-license -o dist/opencode.vsix $version
# publish-marketplace
vsce publish --packagePath dist/opencode.vsix
vsce publish --packagePath dist/opencode.vsix
# publish-openvsx
npx ovsx publish dist/opencode.vsix -p $OPENVSX_TOKEN