Skip to content

Remove docs/ from Check version consistency in ci.yml#491

Merged
arferreira merged 2 commits intomainfrom
update/excludes-ci-docs-check
Apr 13, 2026
Merged

Remove docs/ from Check version consistency in ci.yml#491
arferreira merged 2 commits intomainfrom
update/excludes-ci-docs-check

Conversation

@ShiraiEd
Copy link
Copy Markdown
Collaborator

@ShiraiEd ShiraiEd commented Apr 13, 2026

Summary

Remove "docs/" from the "Check version consistency" in the ci.tml so the new release notes doesn't get blocked by
the outdated versions documented in there

Related Issues

Closes #490

Checklist

  • cargo fmt passes
  • cargo clippy has no warnings
  • Tests pass
  • Documentation updated (if needed)

@ShiraiEd ShiraiEd requested a review from arferreira as a code owner April 13, 2026 02:34
@arferreira arferreira changed the title deleted docs/ from Check version consistency in ci.yml Remove docs/ from Check version consistency in ci.yml Apr 13, 2026
@arferreira arferreira added the github_actions Pull requests that update GitHub Actions code label Apr 13, 2026
Copy link
Copy Markdown
Collaborator

@arferreira arferreira left a comment

Choose a reason for hiding this comment

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

I guess we shouldn't drop docs/ altogether.

VERSION=$(grep '^version' rapina/Cargo.toml | head -1 | sed 's/.*"\(.*\)"/\1/')
MINOR="${VERSION%.*}"
BAD=$(grep -rn 'rapina = { version = "' docs/ rapina/examples/ \
BAD=$(grep -rn 'rapina = { version = "' rapina/examples/ \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this is too broad, I mean removing docs entirely means guides and tutorials as well. The problem is only with blog posts.

Suggested change
BAD=$(grep -rn 'rapina = { version = "' rapina/examples/ \
BAD=$(grep -rn 'rapina = { version = "' docs/ rapina/examples/ --exclude-dir="blog" \

@ShiraiEd ShiraiEd force-pushed the update/excludes-ci-docs-check branch from ffd91cf to 8befc29 Compare April 13, 2026 02:52
@ShiraiEd ShiraiEd force-pushed the update/excludes-ci-docs-check branch from 8befc29 to 61c29a0 Compare April 13, 2026 02:55
@arferreira arferreira merged commit 029fd5d into main Apr 13, 2026
13 checks passed
@arferreira arferreira deleted the update/excludes-ci-docs-check branch April 13, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update CI check to exclude the docs

2 participants