mirror of
https://github.com/BastilleBSD/templates.git
synced 2026-01-04 03:44:11 +01:00
test 51
This commit is contained in:
@@ -22,12 +22,12 @@ task:
|
|||||||
- git clone https://github.com/BastilleBSD/templates.git
|
- git clone https://github.com/BastilleBSD/templates.git
|
||||||
- cd templates
|
- cd templates
|
||||||
- echo " branch is $BRANCH "
|
- echo " branch is $BRANCH "
|
||||||
- git diff --dirstat main $BRANCH ./* > diff.txt
|
- git diff --dirstat main $BRANCH ./* >> diff.txt
|
||||||
- echo "*** diff.txt ***"
|
- echo "*** diff.txt ***"
|
||||||
- cat diff.txt
|
- cat diff.txt
|
||||||
- # Use sed to remove characters before the match pattern
|
- # Use sed to remove characters before the match pattern
|
||||||
- match_pattern=" "
|
- match_pattern=" "
|
||||||
- sed "s/*$match_pattern/$match_pattern/" "diff.txt" > changed.txt
|
- sed "s/*$match_pattern/$match_pattern/" "diff.txt" >> changed.txt
|
||||||
- echo "*** changed.txt ***"
|
- echo "*** changed.txt ***"
|
||||||
- cat changed.txt
|
- cat changed.txt
|
||||||
- read -r CHDIR <"changed.txt"
|
- read -r CHDIR <"changed.txt"
|
||||||
|
|||||||
Reference in New Issue
Block a user