chore: Update release workflow, changesets not setting published flag

This commit is contained in:
Sam Tolmay 2024-12-06 17:00:36 +02:00
parent 0e1806d7e1
commit 9576c1f6e6
No known key found for this signature in database

View File

@ -45,16 +45,16 @@ jobs:
- name: Package VS Code Extention
run: pnpm --filter lowdefy-vscode package
- name: Print changesets steps context
env:
CONTEXT: ${{ toJson(steps.changesets) }}
run: echo "$CONTEXT"
#
# - name: Print changesets steps context
# env:
# CONTEXT: ${{ toJson(steps.changesets) }}
# run: echo "$CONTEXT"
- name: Create Github Release
uses: softprops/action-gh-release@v2
if: ${{ steps.changesets.outputs.published == 'true' }}
if: ${{ github.head_ref == 'changeset-release/main' }}
with:
tag_name: ${{ format('v{0}', fromJSON(steps.changesets.outputs.publishedPackages)[0].version) }}
draft: true
files: |
lowdefy-vscode-*.vsix