mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Jenkins can not properly deal with symbolic links. (cherry picked from commit 5c359621dfff2b3d134547aa3be6cddc245a2a5e)
8 lines
271 B
Bash
Executable File
8 lines
271 B
Bash
Executable File
#!/bin/sh
|
|
|
|
BUILD_DIR=$(scripts/query-json build/build-config.json build_dir)
|
|
BUILD_ARCH=$(scripts/query-json build/build-config.json architecture)
|
|
VERSION=$(cat $BUILD_DIR/version)
|
|
|
|
cp $BUILD_DIR/live-image-$BUILD_ARCH.hybrid.iso $BUILD_DIR/vyos-$VERSION-$BUILD_ARCH.iso
|