Skip to content

Commit

Permalink
Functionality to publish extension to marketplace (#19)
Browse files Browse the repository at this point in the history
Remove upload to CodeArtifact
  • Loading branch information
ColemanRoo authored Nov 27, 2024
1 parent 86ce523 commit ffbe1b0
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 89 deletions.
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These owners will be the default owners for everything in the repo
* @stea9499
* @ColemanRoo
* @mrubens
32 changes: 32 additions & 0 deletions .github/workflows/marketplace-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Extension
on:
push:
branches: ["main"]
workflow_dispatch:

jobs:
publish-extension:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: |
git config user.name github-actions
git config user.email [email protected]
- name: Install Dependencies
run: |
npm install -g vsce ovsx
npm install
cd webview-ui
npm install
cd ..
- name: Package and Publish Extension
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: |
current_package_version=$(node -p "require('./package.json').version")
npm run vsix
npm run publish:marketplace
echo "Successfully published version $current_package_version to VS Code Marketplace"
50 changes: 0 additions & 50 deletions .github/workflows/npm-publish.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## Roo Cline 2.1.2

- Roo Cline now publishes to the VS Code Marketplace!

## [2.1.6]

- Add LM Studio as an API provider option (make sure to start the LM Studio server to use it with the extension!)
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"name": "roo-cline",
"displayName": "Roo Cline",
"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.",
"version": "2.1.1",
"publisher": "RooVeterinaryInc",
"version": "2.1.2",
"files": [
"bin/roo-cline-2.1.1.vsix",
"bin/roo-cline-2.1.2.vsix",
"assets/icons/icon_Roo.png"
],
"icon": "assets/icons/icon_Roo.png",
Expand Down Expand Up @@ -145,8 +146,6 @@
"build:webview": "cd webview-ui && npm run build",
"test:webview": "cd webview-ui && npm run test",
"publish:marketplace": "vsce publish && ovsx publish",
"co:login": "scripts/codeartifact-login.sh",
"install:cline": "scripts/install-cline-latest.sh"
},
"devDependencies": {
"@types/diff": "^5.2.1",
Expand Down
15 changes: 0 additions & 15 deletions scripts/codeartifact-login.sh

This file was deleted.

20 changes: 0 additions & 20 deletions scripts/install-cline-latest.sh

This file was deleted.

0 comments on commit ffbe1b0

Please sign in to comment.