Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
tag: ${{ env.TAG }}

build-cli:
needs: package-helm
needs: [package-helm]
runs-on: depot-ubuntu-24.04-8
steps:
- name: Determine Tag Value
Expand All @@ -89,6 +89,11 @@ jobs:
echo "This is a stable release: $TAG"
fi

# Release branch for tag: v1.17.6 -> releases/v1.17.0
VERSION="${TAG#v}"
MAJOR_MINOR=$(echo "$VERSION" | cut -d. -f1,2)
echo "RELEASE_BRANCH=releases/v${MAJOR_MINOR}.0" >> $GITHUB_ENV

- uses: actions/checkout@v5
with:
fetch-depth: 0
Expand Down Expand Up @@ -214,6 +219,22 @@ jobs:
SKIP_HOMEBREW_UPDATE: ${{ env.SKIP_HOMEBREW_UPDATE }}
GORELEASER_CURRENT_TAG: ${{ env.TAG }}

- name: Generate and update release notes
uses: odigos-io/ci-core/.github/actions/generate-release-notes@main
continue-on-error: true
with:
tag: ${{ env.TAG }}
release-branch: ${{ env.RELEASE_BRANCH }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Notify Slack (release notes)
uses: odigos-io/ci-core/.github/actions/slack-release-notification@main
with:
webhook-url: ${{ secrets.ODIGOS_RELEASE_STATUS_WEBHOOK_URL }}
success-description: "Release notes updated successfully"
failure-description: "ERROR: Failed to update release notes"
tag: ${{ env.TAG }}

- uses: ko-build/setup-ko@v0.9

- name: publish cli image to docker registries
Expand Down Expand Up @@ -257,7 +278,7 @@ jobs:
tag: ${{ env.TAG }}

publish-helm:
needs: build-cli
needs: [build-cli]
runs-on: ubuntu-latest
steps:
- name: Determine Tag Value
Expand Down
Loading