Skip to content

Commit 2f4e1f8

Browse files
Trigger first release to open-vsx.org
- Add new tag and some options related to automatic release notes generation to file RELEASE - Step extension's version - Have test setup not rely on hardcoded extension version in filename, by using a glob Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
1 parent e9b07c5 commit 2f4e1f8

5 files changed

Lines changed: 21 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v3
2323
with:
2424
fetch-depth: 0
25-
- uses: pipe-cd/actions-gh-release@v2.3.4
25+
- uses: pipe-cd/actions-gh-release@v2.6.0
2626
with:
2727
release_file: 'RELEASE'
2828
token: ${{ secrets.GITHUB_TOKEN }}

RELEASE

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
tag: v0.0.0
1+
tag: v0.2.0
2+
3+
commitInclude:
4+
parentOfMergeCommit: false
5+
6+
7+
releaseNoteGenerator:
8+
showAbbrevHash: true
9+
showCommitter: true
10+
useReleaseNoteBlock: false
11+
usePullRequestLink: true
12+
usePullRequestMetadata: false
13+

doc/Publishing.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ The Github workflows are setup to make this relatively simple.
55
When it's desired to have a new release:
66

77
- open a Pull Request that steps the version of the extension in `vscode-trace-extension/package.json`
8-
- As part of the PR, update file RELEASE \[1\] in the repo root. Add or modify it to reflect the new version-to-be-released.
8+
- As part of the PR, update file RELEASE \[1\] in the repo root. Update the tag to match the one in package.json.
99
e.g.
10-
> tag: v0.1.0 # The tag number will be created. Required.
10+
> tag: v0.2.1
1111
12-
- The PR should be automatically updated, and automatically generated release noted added to it
13-
- Upon merging the PR, the GH release will automatically be created, and the release notes added to document it. A release tag, for the new relase will also be created in the repo.
14-
- The release tag should trigger a publish workflow that will build and release a new version of the extension to openvsx.org
12+
- The PR should be automatically updated, and a preview of the automatically generated release noted, will be added in the form of a comment
13+
- Upon merging the PR, the GH release will automatically be created, using the generated release notes. A git tag for the new release will also be created in the repo. If needed, a committer can edit to release.
14+
- The creation of the release git tag should trigger a publish workflow that will build and release a new version of the extension to openvsx.org
1515

1616
\[1\]: Here is the action that we use. For more details see its documentation: https://github.com/pipe-cd/actions-gh-release#actions-gh-release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"start:server": "./trace-compass-server/tracecompass-server",
1313
"download:sample-traces": "curl -o TraceCompassTutorialTraces.tgz https://raw.githubusercontent.com/dorsal-lab/tracevizlab/master/labs/TraceCompassTutorialTraces.tgz; tar -xf TraceCompassTutorialTraces.tgz",
1414
"download:openvscode-server": "mkdir -p test-resources; cd test-resources; curl -L -o openvscode-server-v1.77.3-linux-x64.tar.gz https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v1.77.3/openvscode-server-v1.77.3-linux-x64.tar.gz; tar -xf openvscode-server-v1.77.3-linux-x64.tar.gz",
15-
"configure:openvscode-server": "cd test-resources/openvscode-server-v1.77.3-linux-x64/bin/; sed -i 's;\"$@\".*$;\"$@\" --without-connection-token --install-extension $ROOT/../../vscode-trace-extension/vscode-trace-extension-0.1.0.vsix --default-folder=$ROOT/../../TraceCompassTutorialTraces --start-server;g' openvscode-server",
15+
"configure:openvscode-server": "cd test-resources/openvscode-server-v1.77.3-linux-x64/bin/; sed -i 's;\"$@\".*$;\"$@\" --without-connection-token --install-extension $ROOT/../../vscode-trace-extension/vscode-trace-extension-*.vsix --default-folder=$ROOT/../../TraceCompassTutorialTraces --start-server;g' openvscode-server",
1616
"start:openvscode-server": "cd test-resources/openvscode-server-v1.77.3-linux-x64/bin/; ./openvscode-server ${0}",
1717
"license:check": "npx dash-licenses-wrapper --configFile=./configs/license-check-config.json",
1818
"license:check:review": "npx dash-licenses-wrapper --configFile=./configs/license-check-config.json --review"

vscode-trace-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-trace-extension",
33
"displayName": "Trace Viewer for VSCode",
44
"description": "Viewer that permits visualizing traces and contained data, analyzed by a trace server, and provided over the Trace Server Protocol (TSP)",
5-
"version": "0.1.0",
5+
"version": "0.2.0",
66
"license": "MIT",
77
"engines": {
88
"vscode": "^1.52.0"

0 commit comments

Comments
 (0)