Skip to content

Commit c7e05f5

Browse files
authored
Merge pull request #6 from cortex-command-community/development
Fix incorrectly packaged extension
2 parents b3c34f1 + 8b856f6 commit c7e05f5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
push:
10-
branches: ["main"]
10+
branches: ['main']
1111

1212
jobs:
1313
release:
@@ -26,16 +26,13 @@ jobs:
2626
- uses: actions/setup-node@v3
2727
with:
2828
node-version: 18
29-
cache: "npm"
29+
cache: 'npm'
3030

31-
- name: "Install dependencies"
31+
- name: 'Install dependencies'
3232
run: npm ci
3333

34-
- name: "Build syntaxes, client and server. "
34+
- name: 'Build syntaxes, client and server. '
3535
run: npx nx run-many --target=build
3636

37-
- name: "Package extension"
38-
run: npx vsce package
39-
40-
- name: "Semantic Release"
37+
- name: 'Semantic Release'
4138
run: npx semantic-release

.releaserc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
[
2020
"@semantic-release/exec",
2121
{
22+
"prepareCmd": "npx vsce package --no-git-tag-version ${nextRelease.version}",
2223
"publishCmd": "npx vsce publish --no-git-tag-version ${nextRelease.version}"
2324
}
2425
],

docs/extensions.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
(ini|txt|lua|cfg|bmp|png|jpg|jpeg|wav|ogg|mp3|flac)
66

77

8-
(ScriptPath|IncludeFile|LogoFile|FilePath|SkinFile)
8+
(ScriptPath|IncludeFile|LogoFile|FilePath|SkinFile)
9+
10+
package the damn thing correctly

0 commit comments

Comments
 (0)