Skip to content

Update release workflow for automated builds and remove obsolete config - #44

Merged
Ajimaru merged 2 commits into
devfrom
chore/release-workflow
Dec 2, 2026
Merged

Ajimaru merged 2 commits into
devfrom
chore/release-workflow

Conversation

@Ajimaru

@Ajimaru Ajimaru commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Description

This pull request replaces the existing GitHub Actions workflow for releases with a new, more robust and Pythonic workflow in .github/workflows/release.yaml. The new workflow improves version validation, artifact handling, and compatibility with OctoPrint plugin requirements, while removing the older .github/workflows/release.yml.

Release workflow modernization and improvements:

  • Introduced a new workflow file, .github/workflows/release.yaml, that builds, validates, and stages release artifacts, with enhanced checks for version consistency between tags and package metadata.
  • The new workflow uses Python scripts for artifact validation and packaging, ensuring the package version matches the Git tag and that release zips contain the expected plugin structure.
  • Improved compatibility with OctoPrint plugin manager by creating source zip files from the sdist and supporting legacy filenames for updates.
  • The workflow now uses Python 3.13 and installs specific dependencies, including OctoPrint itself, to match plugin build requirements.

Cleanup and removal:

  • Removed the old workflow file .github/workflows/release.yml, which contained more shell scripting and less rigorous validation logic.

Related Issues

Type of Change

  • Bugfix
  • Feature
  • Docs
  • Refactor
  • Security

Checklist

  • Description of change
  • Related issue(s)
  • Tests added / updated
  • Documentation updated

@Ajimaru Ajimaru self-assigned this Dec 2, 2026
@Ajimaru Ajimaru added documentation Improvements or additions to documentation ci CI, build or workflow changes labels Dec 2, 2026
@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 26262aea-7d2e-48f1-b1ee-0aae8726f789

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Ajimaru

Ajimaru commented Dec 2, 2026

Copy link
Copy Markdown
Owner Author

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codacy-production

codacy-production Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (221fa5b) 1259 1037 82.37%
Head commit (ff40afe) 1259 (+0) 1037 (+0) 82.37% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#44) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Ajimaru
Ajimaru merged commit 59a41c9 into dev Dec 2, 2026
26 checks passed
@Ajimaru
Ajimaru deleted the chore/release-workflow branch December 2, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI, build or workflow changes documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant