Skip to content

Commit 0a49a3f

Browse files
committed
Publish on release
1 parent 7bf35c4 commit 0a49a3f

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.github/workflows/build.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Package Extension
2-
on: push
2+
on:
3+
push:
4+
release:
5+
types:
6+
- created
37
jobs:
48
test-and-package:
59
name: "Test & Package"
@@ -28,3 +32,9 @@ jobs:
2832
with:
2933
name: ${{ env.PACKAGE_NAME }}.vsix
3034
path: ./${{ env.PACKAGE_NAME }}.vsix
35+
36+
- name: Publish
37+
if: success() && startsWith(github.ref, 'refs/tags/v')
38+
run: bun vsce-publish
39+
env:
40+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
66

77
## [Unreleased]
88

9+
## [0.0.2] - 2024-09-06
10+
911
- Interactive demo website, use `bun demo` to run.
1012
- Publish demo via Github Pages
1113
- Updated readme to point to the demo
14+
- Automatically publish releases
1215

1316
## [0.0.1] - 2024-09-05
1417

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"//": "START EXTENSION ATTRIBUTES",
5252
"publisher": "tamir-bahar",
5353
"name": "function-graph-overview",
54-
"version": "0.0.1",
54+
"version": "0.0.2",
5555
"description": "Function Graph Overview",
5656
"displayName": "Function Graph Overview",
5757
"icon": "./media/icon.png",
@@ -91,4 +91,4 @@
9191
"engines": {
9292
"vscode": "^1.86.0"
9393
}
94-
}
94+
}

0 commit comments

Comments
 (0)