Subject: | Trial status is not detected? |
cat dist.ini
name = RunShell
abstract = RunShell demo
version = 0.001_001
[Run::BeforeBuild]
run = echo "1. begin"
run_if_release = echo "2. release"
run_no_release = echo "3. not release"
run_if_trial = echo "4. trial"
run_no_trial = echo "5. not trial"
run = echo "6. end"
[GenerateFile/Assa.pm]
filename = lib/Assa.pm
content = package Assa; 1;
[FakeRelease]
$ dzil build
[Run::BeforeBuild] executing: echo "1. begin"
[Run::BeforeBuild] 1. begin
[Run::BeforeBuild] executing: echo "6. end"
[Run::BeforeBuild] 6. end
[Run::BeforeBuild] executing: echo "5. not trial"
[Run::BeforeBuild] 5. not trial
[Run::BeforeBuild] executing: echo "3. not release"
[Run::BeforeBuild] 3. not release
[DZ] beginning to build RunShell
[DZ] writing RunShell in RunShell-0.001_001
[DZ] building archive with Archive::Tar::Wrapper
[DZ] writing archive to RunShell-0.001_001-TRIAL.tar.gz
[DZ] built in RunShell-0.001_001
Note: Archive name is RunShell-0.001_001-TRIAL.tar.gz. It explicitly states the trial build. However, [Run::BefireBuild] says "5. not trial".
Dist::Zilla 5.038, Run v0.042.