Files
MiniPlaceholders/copyjar.sh
T

10 lines
231 B
Bash
Executable File

#!/usr/bin/env bash
VERSION="$1"
# Ensure the target directory exists
mkdir -p build/libs
# Copy and rename the jar, using $VERSION in the final filename
cp jar/MiniPlaceholders*.jar "build/libs/MiniPlaceholders-${VERSION}.jar"