File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ replace_in_qmd_files() {
7272 if [ "$count" -gt 1 ]; then
7373 # Use awk to comment out all but the first website: line
7474 awk "\$0 ~ /^website:/{if (++n > 1) sub(/^/, \"# \")}1" "$file" > "$file.tmp" && mv "$file.tmp" "$file"
75- echo "File $file: $count ' website:' lines, all but the first commented."
7675 fi
7776 done
7877 ' bash {} +
@@ -154,7 +153,7 @@ main() {
154153 if [ " $branch_created " = false ]; then
155154 git pull origin fusion_site_ssplab
156155 git checkout -b auto_fetch
157- # git push -u origin auto_fetch
156+ git push -u origin auto_fetch
158157 branch_created=true
159158 fi
160159
@@ -172,7 +171,7 @@ main() {
172171 # Commit the changes
173172 git add " $path_to_folder_to_synchronize_to " " $json_file "
174173 git commit -m " Update $path_to_folder_to_synchronize_to based on commit $new_commit_sha made to $path_to_folder_to_synchronize_from "
175- # git push
174+ git push
176175 else
177176 echo " No new commit since ${last_commit_sha: 0: 6} found for $path_to_folder_to_synchronize_from "
178177 fi
You can’t perform that action at this time.
0 commit comments