Skip to content

Commit 0df0201

Browse files
committed
Update release workflow to publish extension and increment version to 1.0.1
1 parent 466efbd commit 0df0201

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: Package and Release VS Code Extension
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
tags:
8-
- 'v*' # Trigger on version tags like v1.0.0
4+
release:
5+
types: [published]
6+
7+
# TODO: transition to platform specific build jobs https://code.visualstudio.com/api/working-with-extensions/publishing-extension#platformspecific-extensions
98

109
jobs:
1110
build:
@@ -82,6 +81,11 @@ jobs:
8281
with:
8382
repo_token: ${{ secrets.GITHUB_TOKEN }}
8483
file: '*.vsix'
85-
tag: latest
86-
overwrite: true
87-
file_glob: true
84+
tag: ${{ github.ref }}
85+
file_glob: true
86+
87+
- name: Publish Extension
88+
env:
89+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
90+
run: |
91+
vsce publish ${{ github.event.release.tag_name }}

client/src/setupSidebar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export interface Folder {
2323

2424
export async function setupSidebar() {
2525
// TODO: Show welcome screens whilst we are starting Processing
26+
// TODO: Open examples as read-only or in a temporary location
2627

2728
setupExamples();
2829
setupSketchbook();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "processing4-vscode-extension",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"publisher": "stefterv",
55
"displayName": "Processing",
66
"description": "Run Processing sketches in VSCode",

0 commit comments

Comments
 (0)