Skip to content

Commit 83f2557

Browse files
committed
format
1 parent a36b3d4 commit 83f2557

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/upload-release-assets.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,17 @@ jobs:
6565
echo "${{secrets.PUBTEST_KEY}}" > pubtest.key
6666
PKG_REPO=${{inputs.pkgRepo}} CERT=pubtest.crt KEY=pubtest.key DL=1 scripts/packages/package-check.sh ${{inputs.pkgVersion}}
6767
for i in $(find ${{inputs.pkgRepo}}/nginx-agent | grep -e "nginx-agent[_-]${{inputs.pkgVersion}}"); do
68-
69-
# Debian
7068
if [[ "$i" == *.deb ]]; then
7169
echo "Renaming ${i} to ${dest/_/-/}"}"
7270
mv "${i}" "${dest/_/-/}"
7371
fi
74-
75-
# Alpine
7672
if [[ "$i" == *.apk ]]; then
7773
ver=$(echo "$i" | grep -o -e "v[0-9]*\.[0-9]*")
7874
arch=$(echo "$i" | grep -o -F -e "x86_64" -e "aarch64")
7975
dest="$(dirname "$i")/nginx-agent-${{inputs.pkgVersion}}-$ver-$arch.apk"
8076
echo "Renaming ${i} to ${dest}"
8177
mv "${i}" "${dest}"
8278
fi
83-
8479
done
8580
find ${{inputs.pkgRepo}}/nginx-agent | grep -e "nginx-agent[_-]${{inputs.pkgVersion}}"
8681

0 commit comments

Comments
 (0)