Skip to content

Hardcode version in .pl files instead of YAML config#118

Merged
typhonius merged 1 commit into
v3from
fix/hardcode-version
Mar 27, 2026
Merged

Hardcode version in .pl files instead of YAML config#118
typhonius merged 1 commit into
v3from
fix/hardcode-version

Conversation

@typhonius

Copy link
Copy Markdown
Owner

Summary

  • Adds our $VERSION to odchbot.pl (3.0.1) and opchat.pl (1.0.0) as hardcoded source-controlled values
  • Replaces all $DCBSettings::config->{version} references with $VERSION
  • Removes version: key from odchbot.yml.example and opchat.yml.example
  • Simplifies update.pm to use git pull from tracking branch instead of pulling a branch named after the version string

Test plan

  • Verify Dragon shows correct version in tag and startup message
  • Verify OPChat shows correct version in tag
  • Verify -update command works (pulls from tracking branch)
  • CI passes

🤖 Generated with Claude Code

Move $VERSION from user-editable YAML config to hardcoded `our $VERSION`
in odchbot.pl and opchat.pl. This prevents accidental version changes
via config and makes version a source-controlled value. Also simplifies
update.pm to use `git pull` from tracking branch instead of pulling a
branch named after the version string.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@typhonius typhonius merged commit 99fae99 into v3 Mar 27, 2026
3 checks passed
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