Skip to content

Commit 5cd82c6

Browse files
author
linyuan.yang
committed
release-app
1 parent ee7185c commit 5cd82c6

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

‎.github/workflows/release-app.yml‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -261,32 +261,6 @@ jobs:
261261
working-directory: packages/vscode-extension
262262
run: npx --yes @vscode/vsce package --no-dependencies --out "sbot-vscode-${{ steps.version.outputs.version }}.vsix"
263263

264-
- name: Publish to VS Marketplace
265-
if: github.event_name == 'push'
266-
working-directory: packages/vscode-extension
267-
env:
268-
VSCE_PAT: ${{ secrets.VSCE_PAT }}
269-
shell: bash
270-
run: |
271-
VSIX="sbot-vscode-${{ steps.version.outputs.version }}.vsix"
272-
273-
set +e
274-
OUT=$(npx --yes @vscode/vsce publish --no-dependencies --packagePath "$VSIX" 2>&1)
275-
CODE=$?
276-
set -e
277-
echo "$OUT"
278-
[ $CODE -eq 0 ] && exit 0
279-
280-
# Same version already on the Marketplace — skip without failing the workflow,
281-
# so the rest of the release pipeline (desktop/android) isn't blocked by a
282-
# re-run of the same tag. Bump the version to actually push an update.
283-
if echo "$OUT" | grep -qi "already exists"; then
284-
echo "::warning::v${{ steps.version.outputs.version }} already on Marketplace — skipped. Bump packages/vscode-extension/package.json to release a new version."
285-
exit 0
286-
fi
287-
288-
exit $CODE
289-
290264
- name: Attach VSIX to release
291265
if: github.event_name == 'push'
292266
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)