Skip to content

Commit

Permalink
Merge pull request #35 from MetabobProject/build-vsc-package-update
Browse files Browse the repository at this point in the history
Build; Added pre-release action
  • Loading branch information
AviGopal authored Feb 29, 2024
2 parents 59295b8 + 2db4f00 commit 247dede
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
File renamed without changes.
53 changes: 53 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Publish

on:
push:
tags:
- '*.*.*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install Dependencies
run: npm ci

- name: Package Extension
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npx vsce publish
---
name: Pre-Release

on:
push:
tags:
- '*.*.*-pre'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install Dependencies
run: npm ci

- name: Package Extension
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npx vsce publish --pre-release
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "metabob",
"displayName": "Metabob: Debug and Refactor with AI",
"description": "Generative AI to automate debugging and refactoring Python code",
"version": "1.0.21",
"version": "1.1.0",
"icon": "media/extension-icon.png",
"repository": {
"url": "https://github.com/MetabobProject/metabob-vscode",
Expand Down

0 comments on commit 247dede

Please sign in to comment.