mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-17 14:30:34 +08:00
Merge pull request #1900 from lowdefy/fix-create-relese
chore: Update release workflow, changesets not setting published flag
This commit is contained in:
commit
e83d125fb1
12
.github/workflows/release.yaml
vendored
12
.github/workflows/release.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user