Skip to content

chore: set release-plz CI#94

Merged
nyurik merged 2 commits intomainfrom
rel-plz
Jun 6, 2025
Merged

chore: set release-plz CI#94
nyurik merged 2 commits intomainfrom
rel-plz

Conversation

@nyurik
Copy link
Owner

@nyurik nyurik commented Jun 6, 2025

No description provided.

Copilot AI review requested due to automatic review settings June 6, 2025 04:44
Copy link

Copilot AI left a comment

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 configures Release-plz for automated versioning and releases, cleans up legacy publish checks, and updates CI/pre-commit tooling.

  • Add release-plz.toml workspace config for templated tags and release names
  • Remove manual “check-if-published” justfile target and integrate release-plz in Just and GitHub Actions
  • Update CI workflows: remove old publish steps and add dedicated Release-plz workflows
  • Add pre-commit hooks to forbid/remove tabs and echo RUST_BACKTRACE in just ci-test

Reviewed Changes

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

Show a summary per file
File Description
release-plz.toml Define workspace tag/release name patterns
justfile Remove custom publish check, add release target, echo backtrace
Cargo.toml Downgrade version from 0.10.2 to 0.10.1
.pre-commit-config.yaml Add forbid-tabs/remove-tabs hooks
.github/workflows/release-plz.yml New Release-plz workflows for release and PR prep
.github/workflows/ci.yml Remove legacy publish steps; rely on Release-plz
Comments suppressed due to low confidence (4)

.github/workflows/release-plz.yml:9

  • [nitpick] This workflow only triggers on pushes to main. If you also want to publish on tag pushes (e.g., when creating a tag manually), consider adding tags: [ 'v*' ] under on.push.
    branches: [ main ]

.github/workflows/ci.yml:25

  • Removing the legacy publish job means no crates will be published on tag pushes unless covered by Release-plz. Ensure release-plz-release truly replaces the old Publish to crates.io step for all release scenarios.
-      - name: Ensure this crate has not yet been published

justfile:129

  • [nitpick] Consider adding a short comment above this target describing how to invoke just release [args] and what defaults release-plz applies.
release *args='':  (cargo-install 'release-plz')

Cargo.toml:3

  • The version was decreased from 0.10.2 to 0.10.1. Typically releases should bump to a higher version. Please confirm the intended version or update to the next appropriate release number.
version = "0.10.1"  # This value is also used in the README.md

@codecov
Copy link

codecov bot commented Jun 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.13%. Comparing base (c878671) to head (dc7c569).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   85.13%   85.13%           
=======================================
  Files          13       13           
  Lines         222      222           
  Branches      222      222           
=======================================
  Hits          189      189           
  Misses          7        7           
  Partials       26       26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nyurik nyurik enabled auto-merge (squash) June 6, 2025 04:48
@nyurik nyurik merged commit c797489 into main Jun 6, 2025
13 checks passed
@nyurik nyurik deleted the rel-plz branch June 6, 2025 04:53
@github-actions github-actions bot mentioned this pull request Jun 6, 2025
nyurik added a commit that referenced this pull request Jun 6, 2025
## 🤖 New release

* `sqlite-hashes`: 0.10.1 -> 0.10.2 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.10.2](v0.10.1...v0.10.2)
- 2025-06-06

### Fixed

- fix justfile jq assertion
- fix justfile jq test

### Other

- set release-plz CI
([#94](#94))
- validate if published in CI
([#93](#93))
- ci updates ([#92](#92))
- more ci updates
([#91](#91))
- More rework of CI and justfiles
([#90](#90))
- update dependabot
- ci cleanup
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
CommanderStorm added a commit to maplibre/maplibre-native-rs that referenced this pull request Jul 30, 2025
Sets up release-plz for this repo

Resolves #26

I copied the code from the following PR and then went over the docs to
see if anything needs to be configured differently.

- nyurik/sqlite-hashes#94

> [!NOTE]
> For merging, this obv. needs a secret ^^
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.

1 participant