Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
Expand Down
24 changes: 21 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
permissions:
contents: write

jobs:
publish:
Expand All @@ -13,12 +15,28 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
run: npm ci
run: |
npm ci
npm install -g @vscode/vsce

- name: List packaged files
run: npx vsce ls

- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"

- name: Version bump
run: |
npm version patch
git push
git push --tags

- name: Publish to VS Code Marketplace
run: npx vsce publish
run: npx vsce publish patch
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "gops",
"displayName": "Gops - Visual Git Toolkit",
"description": "Visual Git Toolkit for VS Code",
"version": "0.0.1",
"version": "0.0.2",
"publisher": "codemanxdev",
"repository": {
"type": "git",
Expand Down
Loading