Skip to content

ci: create GitHub releases from version tags#35425

Open
kim-em wants to merge 1 commit intomasterfrom
ci/github-releases
Open

ci: create GitHub releases from version tags#35425
kim-em wants to merge 1 commit intomasterfrom
ci/github-releases

Conversation

@kim-em
Copy link
Contributor

@kim-em kim-em commented Feb 17, 2026

Summary

This PR adds a GitHub Actions workflow that automatically creates GitHub releases when version tags are pushed.

Currently mathlib4 only has tags (no GitHub releases), which makes it harder to programmatically discover the latest release version. This mirrors the existing functionality in batteries' docs-release.yml, but without building/attaching docs.

See also leanprover/cslib#340

Closes #11292

🤖 Prepared with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kim-em kim-em added the CI Modifies the continuous integration setup or other automation label Feb 17, 2026
@github-actions
Copy link

PR summary 32fe3f9354

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for scripts/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

github-merge-queue bot pushed a commit to leanprover/cslib that referenced this pull request Feb 17, 2026
## Summary

This PR adds a GitHub Actions workflow that automatically creates GitHub
releases when version tags are pushed, mirroring the existing
functionality in batteries.

See also leanprover-community/mathlib4#35425

🤖 Prepared with Claude Code

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
github-merge-queue bot pushed a commit to leanprover/cslib that referenced this pull request Feb 17, 2026
## Summary

This PR adds a GitHub Actions workflow that automatically creates GitHub
releases when version tags are pushed, mirroring the existing
functionality in batteries.

See also leanprover-community/mathlib4#35425

🤖 Prepared with Claude Code

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
if: github.repository == 'leanprover-community/mathlib4'
steps:
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0

Thanks!
bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 17, 2026

✌️ kim-em can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Modifies the continuous integration setup or other automation delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using github releases

2 participants

Comments