Software: Apache. PHP/5.6.40 uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24 uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) Safe-mode: OFF (not secure) /home/cp949260/public_html/phbcoop.com/phb_admin/bower_components/popper.js/packages/popper/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/bin/sh # Get version from package.json version="$(cat package.json | jq -r '.version')" # Bower doesn't support Lerna multi-packages, we sacrificy flexibity # making Bower use the whole repository just for the Popper.js release rm -rf ../../dist cp -R dist ../../ cp bower.json ../../bower.json git add -f ../../dist/* git add ../../bower.json git add package.json # In case we directly bump version during publish # Commit the dist files git commit --no-verify -m "chore(automatic): v${version} (dist files)" # Create a tag which will reference the previous commit containing dist files git tag -a v${version} -m "chore(automatic): v${version} (tag release)" # Delete dist files and the copied `bower.json` root file git rm ../../dist/**/* git rm ../../dist/* git rm ../../bower.json # Create a git commit to get rid of the dist files from the repository # they will still be accessible referencing the just created tag git commit --no-verify -m "chore(automatic): v${version} (dist files cleanup)" |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0858 ]-- |