Make a git commit with a simple command and control the repository version.
Just open the command line and type:
sh autocommit.sh
- Use node to open the version.json file and update the revision.
- See the status of the repository.
- Add all files to the repository.
- Make a commit by passing the version.revision number as a message.
- Push the files to the remote repository in the master branch.
- Node CLI
- JQ
Install JQ on Windows with Choco
choco install jq
Install JQ on Linux/Ubuntu
sudo apt-get install jq
Autor Ariel Ivan Diaz