Skip to content

Commit c4fe0c3

Browse files
committed
Fixing ignorable content in package
1 parent 77850ee commit c4fe0c3

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,11 @@ jobs:
4444

4545
- name: NBGV outputs
4646
run: |
47-
echo "SimpleVersion: ${{ steps.nbgv.outputs.SimpleVersion }}"
47+
echo "SimpleVersion: ${{ steps.nbgv.outputs.SimpleVersion }}"
4848
49-
- name: Compile and Package
50-
run: npm run package
51-
env:
52-
CI: true
53-
54-
- name: Extract Package Version
55-
id: package_version
56-
uses: Saionaro/[email protected]
49+
- name: Package
50+
run: |
51+
vsce package -o ${{ github.event.repository.name}}.vsix
5752
5853
- name: Publish
5954
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
@@ -72,8 +67,8 @@ jobs:
7267
id: tag_release
7368
uses: softprops/action-gh-release@v1
7469
with:
75-
body: Release ${{ steps.package_version.outputs.version }}
76-
tag_name: ${{ steps.package_version.outputs.version }}
70+
body: Release ${{ steps.nbgv.outputs.SimpleVersion }}
71+
tag_name: ${{ steps.nbgv.outputs.SimpleVersion }}
7772
generate_release_notes: true
7873
files: |
7974
**/*.vsix

.vscodeignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ vsc-extension-quickstart.md
1111
esbuild.js
1212
gulp.js
1313
node_modules/**
14+
.github/**
15+
sample-data/**
16+
version.json

0 commit comments

Comments
 (0)