same again, should be in one `runIf(opts.createTag)` block