Skip to content

Commit e1ed22b

Browse files
authored
Merge pull request #42 from devfile/v003
chore: Set package version 0.0.3
2 parents 900b696 + 63c9ea3 commit e1ed22b

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/release.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,18 @@ jobs:
7272
npm install -g typescript "@vscode/vsce" "ovsx"
7373
- name: Download VSIX
7474
uses: actions/[email protected]
75+
with:
76+
merge-multiple: true
77+
path: .
78+
- name: List downloaded files
79+
run: ls -ll *.vsix
80+
- name: Set EXT_VERSION variable
81+
run: echo "EXT_VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV
7582
- name: Publish to VS Code Marketplace
7683
if: ${{ inputs.publishToMarketPlace == 'true' }}
7784
run: |
78-
vsce publish -p ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} --packagePath vscode-walkthrough-extension/vscode-devfile-*-${GITHUB_RUN_NUMBER}.vsix
85+
vsce publish -p ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} --packagePath vscode-devfile-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix
7986
- name: Publish to OpenVSX Registry
8087
if: ${{ inputs.publishToOVSX == 'true' == 'true' }}
8188
run: |
82-
ovsx publish -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-walkthrough-extension/vscode-devfile-*-${GITHUB_RUN_NUMBER}.vsix
89+
ovsx publish -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-devfile-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publisher": "devfile",
44
"displayName": "Devfile Walkthrough",
55
"description": "Generate and edit Devfiles in a flash.",
6-
"version": "0.0.2",
6+
"version": "0.0.3",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/devfile/vscode-walkthrough-extension"

0 commit comments

Comments
 (0)