Skip to content

Commit 9951cd7

Browse files
committed
fix: make preview as pre-release
1 parent 1d6257a commit 9951cd7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pr-preview-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
RELEASE_TAG: "agentapi_${{ steps.pr.outputs.number }}"
4343
PR_NUMBER: ${{ steps.pr.outputs.number }}
44-
4544
run: |
4645
# Check if release exists
4746
if gh release view "$RELEASE_TAG" --repo ${{ github.repository }} &>/dev/null; then
@@ -52,7 +51,7 @@ jobs:
5251
gh release create "$RELEASE_TAG" ./out/* \
5352
--title "$RELEASE_TAG" \
5453
--notes "Preview release for PR #${PR_NUMBER}" \
55-
--repo ${{ github.repository }}
54+
--repo ${{ github.repository }} \
5655
--latest=false --prerelease
5756
fi
5857

0 commit comments

Comments
 (0)