Skip to content

SamVerschueren/wercker-step-package-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wercker-step-package-version

Exports the version in the package.json file to an environment variable

Usage

The following step will put the version in the PACKAGE_VERSION environment variable.

- samverschueren/package-version

You can also specify the name of the environment variable. The following example will export the version in the VERSION environment variable.

- samverschueren/package-version:
    envvar: VERSION

Why

This way it is possible to tag a build that is being deployed with the version specified in the package.json file.

Author

License

MIT © Sam Verschueren

About

Exports the version in the package.json file to an environment variable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published