gitlab-ce-arm64/set-branch-name.sh

5 lines
106 B
Bash
Raw Normal View History

2020-11-24 17:07:19 +08:00
#!/bin/bash
IFS='.' read -ra NUMS <<< ${CI_COMMIT_TAG}
echo "${NUMS[0]}-${NUMS[1]}-stable" > branch_name