File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,17 @@ add_assets() {
2
2
ls -laR ./builds
3
3
for asset in ./builds/* /* ; do
4
4
assets+=(" $asset " )
5
+ if [[ ! " $( basename " $asset " ) " =~ [0-9]+\. [0-9]+\. [0-9]+ ]]; then
6
+ cds_assets+=(" $asset " )
7
+ fi
5
8
done
6
9
}
7
10
8
11
release_cds () {
9
12
sudo cp ./scripts/cds /usr/local/bin/cds && sudo sed -i " s|REPO|$GITHUB_REPOSITORY |" /usr/local/bin/cds && sudo chmod a+x /usr/local/bin/cds
10
13
if [[ " $GITHUB_MESSAGE " != * skip-cloudsmith* ]]; then
11
14
cp ./scripts/install.sh ./scripts/php-ubuntu.sh
12
- echo " ${assets [@]} " ./scripts/php-ubuntu.sh | xargs -n 1 -P 8 cds
15
+ echo " ${cds_assets [@]} " ./scripts/php-ubuntu.sh | xargs -n 1 -P 8 cds
13
16
fi
14
17
}
15
18
@@ -34,6 +37,7 @@ log() {
34
37
35
38
version=$( date ' +%Y.%m.%d' )
36
39
assets=()
40
+ cds_assets=()
37
41
rm -rf ./builds/zstd*
38
42
add_assets
39
43
cd " $GITHUB_WORKSPACE " || exit 1
You can’t perform that action at this time.
0 commit comments