Pull in existing github tags to avoid deleting them

This commit is contained in:
Gabriel Simmer 2023-04-25 16:38:15 +01:00
parent 1648f0367f
commit 3c83a6d42c
Signed by: arch
GPG key ID: C81B106D46C5B875

View file

@ -22,5 +22,7 @@ tasks:
if [[ $CHANGED_FILES == "source" || $CHANGED_FILES == "all" ]]; then if [[ $CHANGED_FILES == "source" || $CHANGED_FILES == "all" ]]; then
git remote add github git@github.com:$GITHUB_REPO.git git remote add github git@github.com:$GITHUB_REPO.git
ssh-keyscan github.com >> ~/.ssh/known_hosts ssh-keyscan github.com >> ~/.ssh/known_hosts
# Pull in existing tags
git fetch github --tags
git push --mirror github git push --mirror github
fi fi