Skip to content

Commit

Permalink
v 0.87.1
Browse files Browse the repository at this point in the history
- Add basic github actions.
- Avoid going do an inexistant folder.
- Add wpuerrorlogs to the suggested plugins.
  • Loading branch information
Darklg committed Feb 22, 2024
1 parent 97919f6 commit 9dd29dd
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Functions test

on:
push:
branches:
- master

name: "Trigger: Push action"
permissions: {}

jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
4 changes: 4 additions & 0 deletions inc/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,9 @@ function wputools_go_folder_or_subfolder(){
_TMPLINE="${_TMPLINE}/${2}";
fi;
echo "${_TMPLINE}";
if [[ ! -d "${_tmp_folder}" ]];then
echo 'This folder does not exists.';
return 0;
fi;
cd "${_tmp_folder}";
}
1 change: 1 addition & 0 deletions tools/plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ wpucustomrss
wpudbthumbnail
wpudebugtoolbar
wpudisplayinstagram
wpuerrorlogs
wpufilters
wpugmapsautocompletebox
wpuimportfb
Expand Down
2 changes: 1 addition & 1 deletion wputools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

WPUTools(){

local _WPUTOOLS_VERSION='0.87.0';
local _WPUTOOLS_VERSION='0.87.1';
local _PHP_VERSIONS=(7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5 9.0)
local _PHP_VERSIONS_OBSOLETES=(7.0 7.1 7.2 7.3 7.4)
local _PHP_VERSIONS_ADVANCED=(8.2 8.3 8.4 8.5 9.0)
Expand Down

0 comments on commit 9dd29dd

Please sign in to comment.