fix(release): remove duplicate GitHub Release creation step

The 'Create GitHub Release' step was conflicting with dotslash-publish-release.
Both were trying to upload assets to the same release, causing the 'asset under
the same name already exists' error.

Removed the softprops/action-gh-release step since facebook/dotslash-publish-release
handles creating the release and uploading all assets including the dotslash manifest.
This commit is contained in:
Sebastian Krüger
2025-11-13 07:16:36 +01:00
parent 40cd73936c
commit 3821a18ec1

View File

@@ -447,23 +447,12 @@ jobs:
--release-version "${{ steps.release_name.outputs.name }}" \
--package llmx
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
name: ${{ steps.release_name.outputs.name }}
tag_name: ${{ github.ref_name }}
files: dist/**
# Mark as prerelease only when the version has a suffix after x.y.z
# (e.g. -alpha, -beta). Otherwise publish a normal release.
prerelease: ${{ contains(steps.release_name.outputs.name, '-') }}
- uses: facebook/dotslash-publish-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ github.ref_name }}
config: .github/dotslash-config.json
clobber: true
# Publish to npm using authentication token
publish-npm: