Stedi-Demos / bootstrap-archived

A workflow for receiving and sending EDI documents that you can adjust to build your own EDI system.
Apache License 2.0
7 stars 7 forks source link

[enhancement] ensure local git is up-to-date with remote repo when running any commands #151

Open BDQ opened 1 year ago

BDQ commented 1 year ago

When running npm run bootstrap or npm run deploy we should first check that the local branch has all the changes from the remote repo's branch (on Github). If out-of-date we should prompt for confirmation that we should proceed.

This will prevent users from accidentally deploying older code.