gitlab-ce-arm64/set-branch-name.sh
2020-11-24 17:07:19 +08:00

5 lines
106 B
Bash

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