gitlab-ce-arm64/create-tags.sh

15 lines
282 B
Bash

#!/bin/bash
cat version_list | while read version; do
echo ${version}
HAVE_TAG=false
for tag in $(git tag); do
if [ "${version}" == "${tag}" ]; then
HAVE_TAG=true
fi
done
if ! ${HAVE_TAG}; then
git tag ${version}
fi
done