Skip to content

Commit 1d6257a

Browse files
committed
fix: make preview as pre-release
1 parent 989620c commit 1d6257a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
--title "$RELEASE_TAG" \
5454
--notes "Preview release for PR #${PR_NUMBER}" \
5555
--repo ${{ github.repository }}
56+
--latest=false --prerelease
5657
fi
5758
5859
- name: Comment on PR
@@ -66,5 +67,5 @@ jobs:
6667
issue_number: prNumber,
6768
owner: context.repo.owner,
6869
repo: context.repo.repo,
69-
body: `✅ Preview binaries are ready!\n\nTo test with modules: \`\`\`agentapi: ${prNumber}\`\`\` or download from: ${repoUrl}/releases/tag/${releaseTag}`
70+
body: `✅ Preview binaries are ready!\n\nTo test with modules: \`\`\`agentapi_version = "agentapi_${prNumber}"\`\`\` or download from: ${repoUrl}/releases/tag/${releaseTag}`
7071
});

0 commit comments

Comments
 (0)