CI 수정

This commit is contained in:
ByeonJungHun
2024-07-26 10:45:03 +09:00
parent e5024ced52
commit 06f97cb015

View File

@@ -40,7 +40,6 @@ version_update:
echo "" echo ""
echo "" echo ""
echo "아래 항목에 대해서 CI 작업을 시작합니다!" echo "아래 항목에 대해서 CI 작업을 시작합니다!"
echo ""
for index in "${!different_names[@]}"; do for index in "${!different_names[@]}"; do
name="${different_names[$index]}" name="${different_names[$index]}"
version="${different_versions[$index]}" version="${different_versions[$index]}"
@@ -57,8 +56,6 @@ version_update:
https://lab.jhcloud.kr/api/v4/projects/53/trigger/pipeline https://lab.jhcloud.kr/api/v4/projects/53/trigger/pipeline
;; ;;
*) *)
echo ""
echo ""
echo "프로젝트 \"$name\"을(를) 찾을 수 없습니다!" echo "프로젝트 \"$name\"을(를) 찾을 수 없습니다!"
echo "" echo ""
echo "" echo ""
@@ -67,15 +64,15 @@ version_update:
done done
cp $file2 $file1 cp $file2 $file1 && cd ./old
cd ./old
ls -l
git add ./ git add ./
git commit -m "버전 관리" git commit -m "버전 관리"
git push origin main git push origin main
else else
echo ""
echo "버전이 변한 애플리케이션이 없습니다." echo "버전이 변한 애플리케이션이 없습니다."
echo ""
fi fi
except: except: