Skip to content

Commit 0183251

Browse files
committed
Fix install
1 parent c8b826e commit 0183251

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/CI.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ jobs:
134134
run: |
135135
chmod +x swiftbox.sh
136136
./swiftbox.sh version
137+
138+
- name: Wait for CDN refreshment
139+
run: sleep 1m
137140

138141
- name: Test swiftbox install and update
139142
run: |

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else
1616
exit 255
1717
fi
1818

19-
LATEST_VERSION=`curl -fsSL - https://api.github.com/repos/stevapple/swiftbox/releases/latest | jq .tag_name | sed "s/v//" | sed "s/\"//g"`
19+
LATEST_VERSION=`curl -fsSL https://api.github.com/repos/stevapple/swiftbox/releases/latest | jq .tag_name | sed "s/v//" | sed "s/\"//g"`
2020
INSTALL_DIR="/usr/bin"
2121
SWIFTBOX_VERSION=`$INSTALL_DIR/swiftbox version`
2222
if [ $? -eq 0 ]

swiftbox.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ else
1313
exit 255
1414
fi
1515

16-
SWIFTBOX_VERSION="0.6"
16+
SWIFTBOX_VERSION="0.6.1"
1717
INSTALL_DIR="/usr/bin"
1818

1919
get-latest() {

0 commit comments

Comments
 (0)