⚰️ rc-bless.sh Reference

Purpose

Script Path: bones/scripts/rc-bless.sh

CLI Interface

rc-bless.sh [--dry-run] [--verbose] [--help]

Supported flags: - --help, -h Show usage information and exit. - --dry-run Preview changelog update without writing to file. - --verbose Show detailed logs during blessing.

Workflow Steps

  1. Dependency Check
    • check_deps git date.
  2. Prepare Logs
    • Ensure bones/logs/changelog.md exists.
  3. Generate Changelog Entry
    • Run git diff between HEAD~1 and HEAD, append or preview under dry-run.
  4. Finalize Blessing
    • Copy current changelog into archive if configured.

Exit Codes

Examples

# Standard blessing
./bones/scripts/rc-bless.sh

# Preview blessing without writing
./bones/scripts/rc-bless.sh --dry-run --verbose

# Show help
./bones/scripts/rc-bless.sh --help

Author:

Project: Rotkeeper

Version: v0.2.3-pre

License: