Skip to content

Commit

Permalink
Fix #3911
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMehl committed Feb 5, 2025
1 parent e5d715b commit 99ffe5d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release-visualization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
build:
if: |
(github.event_name == 'workflow_dispatch') ||
(github.event_name == 'pull_request' &&
github.event.pull_request.merged == true &&
(github.event_name == 'pull_request' &&
github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'release') &&
startsWith(github.event.pull_request.head.ref, 'release/vis-'))
name: Build
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
# Debug: List files
echo "Contents of packages directory:"
ls -la visualization/dist/packages/
CHANGELOG_CONTENT=$(bun script/version-manager.ts extract-changelog visualization ${{ needs.build.outputs.version }})
gh release create "vis-${{ needs.build.outputs.version }}" \
--title "Visualization release ${{ needs.build.outputs.version }}" \
Expand All @@ -142,6 +142,9 @@ jobs:
name: Publish to npm
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 99ffe5d

Please sign in to comment.