Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 0 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -938,18 +938,6 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6

- name: Update version for dry run
if: ${{ inputs.dry_run == true }}
run: |
VERSION="${{ inputs.release_version }}"
# `version = '...'` lives in build.gradle since c354f12b; 2.2.x release branches keep
# `project.version = '...'` in common.gradle. Edit whichever file the checkout carries.
VERSION_FILE=build.gradle
grep -qE "^[[:space:]]*version = '" build.gradle || VERSION_FILE=common.gradle
sed -i -E "s/^([[:space:]]*(project\.)?version = )'[^']*'/\1'${VERSION}'/" "${VERSION_FILE}"
echo "VERSION_FILE=${VERSION_FILE}" >> "$GITHUB_ENV"
grep -E "^[[:space:]]*(project\.)?version = '" "${VERSION_FILE}"

- name: Build distribution packages from a clean tree
run: |
./gradlew clean :btrace-dist:build --no-daemon
Expand Down
2 changes: 1 addition & 1 deletion docs/ReleaseChecklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ decision.
|-------|-------|
| Version | |
| Source commit | |
| RC tag | |
| Release commit (Prepare Release output) | |
| Workflow run | |
| Release owner | |
| Decision (`GO` / `NO-GO`) | |
Expand Down
Loading