Skip to content

fix: jq any() with v-prefix strip, add workflow_dispatch for re-runs#15

Merged
sopak merged 1 commit into
mainfrom
fix/release-jq-any-dispatch
Jun 25, 2026
Merged

fix: jq any() with v-prefix strip, add workflow_dispatch for re-runs#15
sopak merged 1 commit into
mainfrom
fix/release-jq-any-dispatch

Conversation

@sopak

@sopak sopak commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Fixes

  • jq any() fix: .versions[].num == $version vracelo multiple booleans, jq -e bral jen poslední → nahrazeno any(.versions[].num; . == $version) pro správnou detekci
  • Defensive v-prefix strip: crate_version_exists nyní strippne v prefix pro jistotu (crates.io API používá bare verze jako "0.1.1")
  • workflow_dispatch: workflow lze nyní spustit ručně z Actions UI s parametrem version — umožňuje re-run bez mazání/pushování tagu

Idempotence

Workflow je idempotentní — pokud verze už na crates.io existuje, přeskočí ji. Při re-runu dojede jen to, co chybí.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

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.

@sopak sopak merged commit 7c5d10a into main Jun 25, 2026
9 checks passed
@sopak sopak deleted the fix/release-jq-any-dispatch branch June 25, 2026 17:49
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