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
16 changes: 16 additions & 0 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Cut release

# Surfaces the version in the Actions run list, e.g. "Cut release v1.2.3"
# instead of the default "Cut release #1". inputs.version may omit the leading
# v, so the title shows exactly what was typed — the canonical tag still lives
# in the job summary below.
run-name: Cut release ${{ inputs.version }}

# One-button release: validate main, build + smoke-test the exact commit, and
# only then create and push the tag. The tag is pushed with the default
# GITHUB_TOKEN, which by design does NOT re-trigger release.yml's `push: tags`
Expand Down Expand Up @@ -84,6 +90,16 @@ jobs:
git tag -a "$tag" -m "repo-intel ${tag}"
git push origin "$tag"

- name: Summarise the release
run: |
tag="${{ steps.tag.outputs.tag }}"
{
echo "## Released ${tag} :rocket:"
echo ""
echo "- **Tag:** \`${tag}\` (from commit \`${GITHUB_SHA:0:7}\` on \`main\`)"
echo "- **Release:** ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/releases/tag/${tag}"
} >> "$GITHUB_STEP_SUMMARY"

release:
needs: gate-and-tag
uses: ./.github/workflows/release.yml
Expand Down
Loading