Skip to content

Generating a PHAR file with the git tag as part of the file name #588

@omair-inam

Description

@omair-inam

I’m trying to generate a PHAR file that includes the latest git tag in the output file name…

I’ve tried using a replacement placeholder in my box.json.. but this does not work… Sample file included below:

{
  "output": "output/mypharfile-@[email protected]",
  "git-tag": "git_tag"
}

What should I change to get the latest git tag to be part of the filename of the generated PHAR file?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions