Skip to content

Commit ffbe1b0

Browse files
authored
Functionality to publish extension to marketplace (#19)
Remove upload to CodeArtifact
1 parent 86ce523 commit ffbe1b0

File tree

7 files changed

+43
-89
lines changed

7 files changed

+43
-89
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These owners will be the default owners for everything in the repo
2+
* @stea9499
3+
* @ColemanRoo
4+
* @mrubens
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish Extension
2+
on:
3+
push:
4+
branches: ["main"]
5+
workflow_dispatch:
6+
7+
jobs:
8+
publish-extension:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 18
15+
- run: |
16+
git config user.name github-actions
17+
git config user.email [email protected]
18+
- name: Install Dependencies
19+
run: |
20+
npm install -g vsce ovsx
21+
npm install
22+
cd webview-ui
23+
npm install
24+
cd ..
25+
- name: Package and Publish Extension
26+
env:
27+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
28+
run: |
29+
current_package_version=$(node -p "require('./package.json').version")
30+
npm run vsix
31+
npm run publish:marketplace
32+
echo "Successfully published version $current_package_version to VS Code Marketplace"

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## Roo Cline 2.1.2
4+
5+
- Roo Cline now publishes to the VS Code Marketplace!
6+
37
## [2.1.6]
48

59
- Add LM Studio as an API provider option (make sure to start the LM Studio server to use it with the extension!)

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"name": "roo-cline",
33
"displayName": "Roo Cline",
44
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.",
5-
"version": "2.1.1",
5+
"publisher": "RooVeterinaryInc",
6+
"version": "2.1.2",
67
"files": [
7-
"bin/roo-cline-2.1.1.vsix",
8+
"bin/roo-cline-2.1.2.vsix",
89
"assets/icons/icon_Roo.png"
910
],
1011
"icon": "assets/icons/icon_Roo.png",
@@ -145,8 +146,6 @@
145146
"build:webview": "cd webview-ui && npm run build",
146147
"test:webview": "cd webview-ui && npm run test",
147148
"publish:marketplace": "vsce publish && ovsx publish",
148-
"co:login": "scripts/codeartifact-login.sh",
149-
"install:cline": "scripts/install-cline-latest.sh"
150149
},
151150
"devDependencies": {
152151
"@types/diff": "^5.2.1",

scripts/codeartifact-login.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

scripts/install-cline-latest.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)