File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ jobs:
136136 cat public_html/lists/admin/init.php | tr '\n' '\r' | sed 's~//## remove on rollout.*//## end remove on rollout ###~define("VERSION","'${RELEASE_VERSION}'");~' | tr '\r' '\n' > /tmp/$$.init
137137 mv -f /tmp/$$.init public_html/lists/admin/init.php
138138 sed -i s~define\(\'STRUCTUREVERSION\'.*~define\(\'STRUCTUREVERSION\',\"${RELEASE_VERSION}\"\)\;~ public_html/lists/admin/structure.php
139- sed -i s/^VERSION=/VERSION=${RELEASE_VERSION}/ VERSION
139+ sed -i s/^VERSION=.* /VERSION=${RELEASE_VERSION}/ VERSION
140140
141141 cd ..
142142 zip -rq9 phplist-${RELEASE_VERSION}.zip phplist-${RELEASE_VERSION}
@@ -216,6 +216,8 @@ jobs:
216216 RELEASE_FOLDER=phplist
217217 fi
218218 echo "${{ secrets.SF_HOSTKEY }}" >> ~/.ssh/known_hosts
219+ cd $GITHUB_WORKSPACE
220+ cd ..
219221
220222 sshpass -e sftp -oBatchMode=no -b - ${{ secrets.SF_USERNAME }}@${{ secrets.SF_HOST }} << EOF
221223 cd /home/frs/project/phplist/$RELEASE_FOLDER
You can’t perform that action at this time.
0 commit comments