mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fixed release website script.
Thanks to xet7 !
This commit is contained in:
parent
03d7940829
commit
b6f60c08e5
1 changed files with 5 additions and 5 deletions
|
@ -20,11 +20,11 @@ cd ~/repos/w/wekan.github.io
|
|||
git pull
|
||||
|
||||
# 4) Change version number in website
|
||||
sed -i 's|v$1|v$2|g' index.html
|
||||
sed -i "s|>v$1<\/span>|>v$2<\/span>|g" index.html
|
||||
|
||||
# 5) Change version number in API docs index page
|
||||
cd api
|
||||
sed -i 's|v$1|v$2|g' index.html
|
||||
sed -i "s|v$1|v$2|g" index.html
|
||||
|
||||
# 6) Create directory for new docs
|
||||
mkdir v$2
|
||||
|
@ -42,6 +42,6 @@ mv wekan.html index.html
|
|||
cd ~/repos/w/wekan.github.io
|
||||
|
||||
# 11) Commit all changes to git and push website changes live
|
||||
git add --all
|
||||
git commit -m "v$2"
|
||||
git push
|
||||
#git add --all
|
||||
#git commit -m "v$2"
|
||||
#git push
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue