ci: fix path to dist folder (#3527)

This commit is contained in:
afdesk
2023-02-01 20:44:01 +06:00
committed by GitHub
parent e9d2af9174
commit 0205475fa9

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
TRIVY_VERSION=$(find ../dist/ -type f -name "*64bit.rpm" -printf "%f\n" | head -n1 | sed -nre 's/^[^0-9]*(([0-9]+\.)*[0-9]+).*/\1/p') TRIVY_VERSION=$(find dist/ -type f -name "*64bit.rpm" -printf "%f\n" | head -n1 | sed -nre 's/^[^0-9]*(([0-9]+\.)*[0-9]+).*/\1/p')
function create_rpm_repo () { function create_rpm_repo () {
version=$1 version=$1