2017 © Pedro Peláez
 

library buster

Creates a .deploy file to use as a buster mechanism

image

wearenolte/buster

Creates a .deploy file to use as a buster mechanism

  • Tuesday, July 25, 2017
  • by mitogh
  • Repository
  • 5 Watchers
  • 0 Stars
  • 5,745 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 16 % Grown

The README.md

Buster

Creates new version numbers based on the current time measured in the number of seconds since the Unix Epoch., (*1)

Everytime you execute the NodeJS or PHP script it's going to update the version number. If the .deploy.json file already exist, is going to update the file if does not exist it's going to create a new one, so you need to make sure when you are running the script that you have writting permissions (unix permissions) on the directoy where the script is executed., (*2)

PHP Version

Installation

composer require wearenolte/buster

Usage

# Installed via composer
php ./vendor/bin/version

# Directly on the package
php ./bin/version

Node Version

Installation

npm install --save-dev @wearenolte/buster

Usage

node bin/version.js 

Any of the previous examples it's going to create a new JSON file located at ./deploy.json., (*3)

  • if something fails it's goign to return a code of 1 and an empty JSON object is going to be created.
  • if everything was correct it's going to return 0 a JSON object with a version is going to be created.

The Versions

25/07 2017

dev-master

9999999-dev

Creates a .deploy file to use as a buster mechanism

  Sources   Download

by Crisoforo Gaspar
by Avatar WeAreNolte

25/07 2017

0.1.1

0.1.1.0

Creates a .deploy file to use as a buster mechanism

  Sources   Download

by Crisoforo Gaspar
by Avatar WeAreNolte

25/07 2017

0.1.0

0.1.0.0

Creates a .deploy file to use as a buster mechanism

  Sources   Download

by Crisoforo Gaspar
by Avatar WeAreNolte