Skip to content
Snippets Groups Projects
Commit 24c803ed authored by David Hrbáč's avatar David Hrbáč
Browse files

modified colors.sh script

parent 58981a49
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!12Colors - grey as default
Pipeline #
for i in {"red","pink","purple","deep purple","indigo","blue","light blue","cyan","teal","green","light green","lime","yellow","amber","orange","deep orange","brown","grey","blue grey"} for i in {"red","pink","purple","deep purple","indigo","blue","light blue","cyan","teal","green","light green","lime","yellow","amber","orange","deep orange","brown","grey","blue grey"}
do do
echo "Setting color to: $i, ${i/ /_}, color_${i/ /_}" echo "Setting color to: $i, ${i/ /_}, color_${i/ /_}"
#git checkout -b color_${i/ /_} git checkout -b color_${i/ /_}
git checkout color_${i/ /_} #git checkout color_${i/ /_}
rm -fr "/home/hrb33/Dokumenty/dev/it4i/docs.it4i.git/.git/rebase-apply" #rm -fr "/home/hrb33/Dokumenty/dev/it4i/docs.it4i.git/.git/rebase-apply"
git pull --rebase origin colors #git pull --rebase origin colors
git pull --rebase #git pull --rebase
sed -ri "s/(primary: ').*'/\1$i'/" mkdocs.yml sed -ri "s/(primary: ').*'/\1$i'/" mkdocs.yml
#git cherry-pick bd8e358 #git cherry-pick bd8e358
git commit -am "Setting color to: $i" git commit -am "Setting color to: $i"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment