From 42e40218fd2f2badb0196e8dc14ce3e1c0c7de56 Mon Sep 17 00:00:00 2001 From: Stefan Negru Date: Mon, 15 Jun 2026 20:59:59 +0300 Subject: [PATCH] update release pipeline to respect the target --- .github/workflows/release-pipeline.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-pipeline.yaml b/.github/workflows/release-pipeline.yaml index 71887183..1ae0bc65 100644 --- a/.github/workflows/release-pipeline.yaml +++ b/.github/workflows/release-pipeline.yaml @@ -15,7 +15,7 @@ jobs: new_version: ${{ steps.semver.outputs.next }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} fetch-depth: 0 @@ -74,6 +74,7 @@ jobs: # Create release gh release create "$VERSION" "release-enterprise-ai-${VERSION}.tar.gz#ClusterForge Enterprise AI Package" \ --title="ClusterForge Release $VERSION" \ + --target ${{ github.sha }} \ --generate-notes \ --prerelease || true # Ignore if release already exists @@ -86,6 +87,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v6 with: + ref: ${{ github.sha }} token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} - name: Install yq