Fix semantic release by cooronx · Pull Request #1723 · apache/casbin · GitHub
Skip to content

Fix semantic release - #1723

Closed
cooronx wants to merge 1 commit into
apache:masterfrom
cooronx:fix_semantic_release
Closed

cooronx wants to merge 1 commit into
apache:masterfrom
cooronx:fix_semantic_release

Conversation

@cooronx

@cooronx cooronx commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Similar from https://github.com/apache/answer/tree/main/.github/workflows

replaced semantic-release with two simpler Apache-friendly workflows

On every push to master, GitHub Actions now builds a source snapshot archive and uploads it as a artifact.

When a v* tag is pushed, GitHub Actions builds the source release archives, generates lightweight release notes from feat, fix, and docs commits, creates a checksums.txt, and opens a draft GitHub release. This keeps GitHub automation useful for packaging, while leaving the official Apache release and voting process fully manual.

@github-actions

github-actions Bot commented Apr 20, 2026 •

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the existing semantic-release setup and replaces it with two GitHub Actions workflows that build and package source archives in an Apache-friendly way (snapshot artifacts on master pushes and draft GitHub releases on v* tags), while keeping the official ASF release process manual.

Changes:

  • Removed semantic-release invocation from the Makefile and deleted .releaserc.json.
  • Added a source-snapshot workflow that builds source archives + checksums and uploads them as CI artifacts on pushes to master.
  • Added a source-release-draft workflow that builds release archives + checksums, generates lightweight notes from feat/fix/docs commits, and opens a draft GitHub release on v* tags.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Makefile Removes the release target that ran semantic-release.
.releaserc.json Deletes semantic-release configuration.
.github/workflows/default.yml Removes the semantic-release job from the default CI workflow.
.github/workflows/source-snapshot.yml Adds workflow to build/upload source snapshot archives and checksums on master pushes.
.github/workflows/source-release-draft.yml Adds workflow to build release archives, generate notes, checksum, and create a draft GitHub release on v* tags.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cooronx
cooronx force-pushed the fix_semantic_release branch 4 times, most recently from 0af90a1 to a4dd365 Compare April 21, 2026 12:51
@cooronx
cooronx force-pushed the fix_semantic_release branch from a4dd365 to 52d64fc Compare April 21, 2026 13:01
@cooronx cooronx closed this Apr 21, 2026
@cooronx
cooronx deleted the fix_semantic_release branch April 21, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants