Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/classify.picotech.app/public_html/vendor/sentry/sentry/scripts/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/bin/bash set -eux if [ "$(uname -s)" != "Linux" ]; then echo "Please use the GitHub Action." exit 1 fi SCRIPT_DIR="$( dirname "$0" )" cd $SCRIPT_DIR/.. OLD_VERSION="${1}" NEW_VERSION="${2}" echo "Current version: $OLD_VERSION" echo "Bumping version: $NEW_VERSION" function replace() { ! grep "$2" $3 perl -i -pe "s/$1/$2/g" $3 grep "$2" $3 # verify that replacement was successful } replace "SDK_VERSION = '[0-9.]+'" "SDK_VERSION = '$NEW_VERSION'" ./src/Client.php |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]-- |