⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
ajv
/
scripts
/
View File Name :
publish-built-version
#!/usr/bin/env bash set -e if [[ -n $TRAVIS_TAG && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then echo "About to publish $TRAVIS_TAG to ajv-dist..." git config user.email "$GIT_USER_EMAIL" git config user.name "$GIT_USER_NAME" git clone https://${GITHUB_TOKEN}@github.com/ajv-validator/ajv-dist.git ../ajv-dist rm -rf ../ajv-dist/dist mkdir ../ajv-dist/dist cp ./dist/ajv.* ../ajv-dist/dist cat bower.json | sed 's/"name": "ajv"/"name": "ajv-dist"/' > ../ajv-dist/bower.json cd ../ajv-dist if [[ `git status --porcelain` ]]; then echo "Changes detected. Updating master branch..." git add -A git commit -m "updated by travis build #$TRAVIS_BUILD_NUMBER" git push --quiet origin master > /dev/null 2>&1 fi echo "Publishing tag..." git tag $TRAVIS_TAG git push --tags > /dev/null 2>&1 echo "Done" fi