deploy-versioning

1.0.3 • Public • Published

deploy-versioning

Deploy your code keeping older versions.

Install

npm install deploy-versioning --save-dev

Usage

Just add a script in your package.json:

{
    ...
    "scripts": {
        "deploy": "deploy-versioning dist user@host:/srv/myapp"
    }
    ...
}

And run it:

npm run deploy

It will create the following file structure in your production server:

/srv/myapp
+-- 1.0.0
+-- 1.0.1
+-- 1.0.2
+-- latest -> /srv/myapp/1.0.2

Changelog

  • 1.0.0
    • Initial release 🎉

License

ISC License

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    12
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    12
  • 1.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    1

Package Sidebar

Install

npm i deploy-versioning

Weekly Downloads

14

Version

1.0.3

License

ISC

Last publish

Collaborators

  • educastellano