gitlab-ce-arm64/set-branch-name.sh
2020-12-10 11:29:10 +08:00

5 lines
106 B
Bash
Executable File

#!/bin/bash
IFS='.' read -ra NUMS <<< ${CI_COMMIT_TAG}
echo "${NUMS[0]}-${NUMS[1]}-stable" > branch_name