HEX
Server: Apache
System: Linux ecngx285.inmotionhosting.com 4.18.0-553.79.1.lve.el8.x86_64 #1 SMP Wed Oct 15 17:59:35 UTC 2025 x86_64
User: zeusxp5 (3862)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /home/zeusxp5/zenoxpressjobs.com/mba-alumnus.html/wp-content/plugins/sumome/publish.sh
#!/bin/bash

VERSION=$(grep -i 'Stable tag:' Readme.txt | awk -F' ' '{print $NF}')

# clean up from any previous deploys
rm -rf /tmp/sumome-svn
rm -rf /tmp/sumome-wp-plugin

# check out the SVN repo
svn co https://plugins.svn.wordpress.org/sumome /tmp/sumome-svn

# copy the new build to a tmp locaation
unzip ./builds/sumome."$VERSION".zip -d /tmp/sumome-wp-plugin

# copy the new build into the svn repo
cp -r /tmp/sumome-wp-plugin/sumome/* /tmp/sumome-svn/trunk

# copy the assets into the svn repo
cp -r ./plugin/assets/* /tmp/sumome-svn/assets

# create the new tag
cd /tmp/sumome-svn
svn cp trunk "tags/$VERSION"

# commit changes
svn add . --force
svn update
svn commit -m "Update to version $VERSION" --username "SumoMe"