Created by: zeffii
testing yaml blindly. eat me.
ok a few notes then.. for the bash
leppers such as myself :)
basename from an archive
BLENDER_URL=https://ftp.nluug.nl/pub/graphics/blender/release/Blender2.93/blender-2.93.0-linux-x64.tar.xz
BLENDER_DIR=$(basename $BLENDER_URL .tar.xz)
echo $BLENDER_DIR
# blender-2.93.0-linux-x64
this is the equivalent to python
BLENDER_URL = "https://ftp.nluug.nl/pub/graphics/blender/release/Blender2.93/blender-2.93.0-linux-x64.tar.xz"
BLENDER_DIR = os.path.basename(BLENDER_URL).replace(".tar.xz", "")
print(BLENDER_DIR)
>>> "blender-2.93.0-linux-x64"