diff --git a/ROADMAP.md b/ROADMAP.md index f09404b..b1fb0bd 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -6,18 +6,6 @@ Pull requests for any of these are welcome. See [Contributing](README.md#contrib --- -## v1.1 — Operations Completeness - -*Close the gaps users hit within the first week of real use.* - -| Feature | Notes | -|---|---| -| ~~**Retry failed job with modified arguments**~~ | ✓ Shipped — editable textarea on the job detail page; submitting updates the job record and retries in one step. | -| ~~**Multiple webhook targets**~~ | ✓ Shipped — `alert_webhook_url` accepts a string or an array; all URLs receive the same payload; one failure doesn't block the rest. | -| ~~**Queue depth alert**~~ | ✓ Shipped — `alert_queue_thresholds` hash maps queue names to ready-count limits; cooldown tracked independently per queue; same `alert_webhook_url` endpoint(s) used with a distinct event type. | - ---- - ## v1.2 — Error Intelligence *Surface patterns in failures, not just individual failed jobs.* diff --git a/bin/release b/bin/release index 46475b5..8cc1295 100755 --- a/bin/release +++ b/bin/release @@ -59,8 +59,16 @@ sed -i '' \ [$VERSION]: https://github.com/eclectic-coding/solid_queue_web/releases/tag/$TAG" \ CHANGELOG.md +echo "==> Pruning shipped ROADMAP section..." +MINOR_VERSION=$(echo "$VERSION" | cut -d. -f1-2) +awk -v ver="$MINOR_VERSION" ' + /^## v/ && $0 ~ ("^## v" ver "([^0-9]|$)") { skip=1; next } + skip && /^---/ { skip=0; next } + !skip +' ROADMAP.md > ROADMAP.tmp && mv ROADMAP.tmp ROADMAP.md + echo "==> Committing release..." -git add "$VERSION_FILE" Gemfile.lock CHANGELOG.md +git add "$VERSION_FILE" Gemfile.lock CHANGELOG.md ROADMAP.md git commit -m "Release $TAG" echo "==> Tagging $TAG..."