fix: explicitly specify tarball name instead of glob
This commit is contained in:
@@ -54,7 +54,13 @@ jobs:
|
|||||||
- name: Move tarball to root
|
- name: Move tarball to root
|
||||||
working-directory: ./headlamp-sealed-secrets
|
working-directory: ./headlamp-sealed-secrets
|
||||||
run: |
|
run: |
|
||||||
TARBALL=$(ls *.tar.gz)
|
# Get the specific tarball created by package command
|
||||||
|
TARBALL="headlamp-sealed-secrets-${{ steps.extract_version.outputs.version }}.tar.gz"
|
||||||
|
if [ ! -f "${TARBALL}" ]; then
|
||||||
|
echo "::error::Expected tarball ${TARBALL} not found"
|
||||||
|
ls -la *.tar.gz
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
mv "${TARBALL}" "../${TARBALL}"
|
mv "${TARBALL}" "../${TARBALL}"
|
||||||
echo "Moved tarball: ${TARBALL}"
|
echo "Moved tarball: ${TARBALL}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user