Skip to content

Commit 351c638

Browse files
committed
Fixing publish versions [skip ci]
1 parent 1372faa commit 351c638

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/_build.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: "Base build"
22

3-
on: workflow_call
4-
3+
on:
4+
workflow_call:
5+
outputs:
6+
version:
7+
description: 'Version of the build'
8+
value: ${{ jobs.build.outputs.version) }}
9+
510
jobs:
611
build:
712
outputs:

.github/workflows/publish.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,14 @@ jobs:
4343
extension-file: '${{ github.event.repository.name }}.vsix'
4444
publish-manifest-file: 'vs-publish.json'
4545
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}
46+
47+
- name: Tag and Release
48+
id: tag_release
49+
uses: softprops/action-gh-release@v1
50+
with:
51+
body: Release ${{ env.VERSION }}
52+
tag_name: ${{ env.VERSION }}
53+
generate_release_notes: true
54+
files: |
55+
**/*.vsix
4656

0 commit comments

Comments
 (0)