]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Improve change-version.js (#33148)
authorXhmikosR <xhmikosr@gmail.com>
Thu, 11 Mar 2021 09:37:52 +0000 (11:37 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Mar 2021 09:37:52 +0000 (11:37 +0200)
commite153e5f5b2b82ad09a9874b8ff1dfca986790f76
tree2d12d8f2601e5c0dbe48cb7d8bc227b3e3b8d983
parent6b3254536bac263c39e3a536c3c13945210d91b2
Improve change-version.js (#33148)

* switch to async/await
* remove shelljs
* switch to globby; supports .gitignore out of the box
* don't write any files to the disk if they are indentical
* add two more cmd switches: --dry and --verbose
* strip leading "v" from version arguments so that we don't end up with duplicate `v`s
build/change-version.js
package.json