Skip to content

Commit 4af659f

Browse files
authored
[release] v0.10.1 with fixed pipeline (attempt 2) (#837)
1 parent 75e81e1 commit 4af659f

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

.github/workflows/prep-release.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,6 @@ on:
1313
- patch
1414
- minor
1515
- major
16-
publishToMarketplace:
17-
description: 'Publish to VSCode Marketplace'
18-
required: true
19-
type: boolean
20-
default: true
21-
publishToOVSX:
22-
description: 'Publish to Open VSX Registry'
23-
required: true
24-
type: boolean
25-
default: true
26-
publishPreRelease:
27-
description: 'Publish as pre-release version'
28-
required: true
29-
type: boolean
30-
default: false
3116

3217
jobs:
3318
release:

.github/workflows/release.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,10 @@ jobs:
8383
done
8484
8585
- name: Publish to VSCode Marketplace
86-
if: ${{ github.event.inputs.publishToMarketplace == 'true' }}
8786
run: |
88-
vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} --packagePath fabric8-analytics-${{ steps.release_version.outputs.version }}-${{ github.run_number }}.vsix ${{ github.event.inputs.publishPreRelease == 'true' && '--pre-release' || '' }}
87+
vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} --packagePath fabric8-analytics-${{ steps.release_version.outputs.version }}-${{ github.run_number }}.vsix
8988
9089
- name: Publish to Open VSX Registry
91-
if: ${{ github.event.inputs.publishToOVSX == 'true' }}
9290
run: |
93-
npx ovsx publish --pat ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath fabric8-analytics-${{ steps.release_version.outputs.version }}-${{ github.run_number }}.vsix ${{ github.event.inputs.publishPreRelease == 'true' && '--pre-release' || '' }}
91+
npx ovsx publish --pat ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath fabric8-analytics-${{ steps.release_version.outputs.version }}-${{ github.run_number }}.vsix
9492

0 commit comments

Comments
 (0)