-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [추가] 커밋 방지 처리 스크립트 추가 * [수정] 쿠링맵 사용시 API 호스트를 info.plist 에서 가져오도록 수정
- Loading branch information
Showing
5 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
TARGET_FILES=("package-kuring/Sources/UIKit/CampusUI/Resources/KuringMaps-Info.plist" "package-kuring/Sources/Networks/Resources/KuringLink-Info.plist") | ||
|
||
echo "🩺 커밋 방지 필요 여부 체크 중" | ||
|
||
GUARDED_FILES=($(git ls-files -v | grep '^h')) | ||
|
||
if [ ${#TARGET_FILES[@]} -gt 0 ]; then | ||
echo "✅ 커밋 방지 처리가 되어있습니다" | ||
exit 0 | ||
else | ||
echo "💊 커밋 방지 코드를 실행합니다" | ||
fi | ||
|
||
cd ../.. | ||
|
||
for TARGET_FILE in "${TARGET_FILES[@]}"; do | ||
git update-index --assume-unchanged $TARGET_FILE | ||
done | ||
|
||
echo "✅ 커밋 방지 처리가 완료되었습니다" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
cd .github/scripts/ | ||
chmod +x Commit_Guardian.sh | ||
./Commit_Guardian.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,6 @@ | |
<key>API_HOST</key> | ||
<string>🔐</string> | ||
<key>USING_HTTPS</key> | ||
<true/> | ||
<false/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters