File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 3535 # Look in docs/gdext and docs/gdnative repo for all directories starting with "pr-", e.g. "pr-1234".
3636 # Then, issue a GitHub API request to the repo (name of parent directory, "gdext" or "gdnative") to check if the PR is closed.
3737 # If closed, remove the directory.
38+
39+ # Update 2025-01-01: for gdnative, unconditionally close all PR docs.
40+
3841 deletedPrList=( )
3942 for repo in gdext gdnative; do
4043 echo ""
4548 #echo " REST response: $restResult"
4649 prState=$(echo "$restResult" | jq -r .state)
4750 echo "* PR #$prNum is $prState"
48- if [[ "$prState" == "closed" ]]; then
51+
52+ # gdnative is no longer deployed as of 2025-01-01.
53+ if [[ "$prState" == "closed" || "$repo" == "gdnative" ]]; then
4954 deletedPrList+=( "$repo/$prNum" )
5055 date=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
5156 echo " > Delete PR $dir! Date: $date"
You can’t perform that action at this time.
0 commit comments