diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yaml similarity index 100% rename from .github/workflows/codespell.yml rename to .github/workflows/codespell.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..fbd33da --- /dev/null +++ b/.github/workflows/publish.yaml @@ -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 \ No newline at end of file diff --git a/package.json b/package.json index 57d4a6f..7f65ce1 100644 --- a/package.json +++ b/package.json @@ -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",