-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update release guide and fix navigation error #272
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
#!/bin/sh | ||
#push a release to branch asf-site | ||
|
||
## publish website steps | ||
CUR_DIR=$PWD | ||
|
||
bundle update | ||
## downlowd code | ||
git clone https://github.com/apache/servicecomb-website.git servicecomb-website-master | ||
cp -R servicecomb-website-master servicecomb-website-publish | ||
git clone https://github.com/huaweicse/servicecomb-java-chassis-doc.git | ||
|
||
git push origin asf-site | ||
## build source | ||
cd $CUR_DIR/servicecomb-website-master | ||
git checkout -f master | ||
bundle exec jekyll build | ||
|
||
## copy complied files | ||
cd $CUR_DIR/servicecomb-website-publish | ||
git checkout -B liubao -t origin/asf-site | ||
rm -R content/* | ||
mkdir content/references | ||
cp -R $CUR_DIR/servicecomb-website-master/content/* ./content/ | ||
cp -R $CUR_DIR/servicecomb-java-chassis-doc/docs/* ./content/references/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's better to add links to the reference, as we have other docs need to link such as kie. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Folder can not use symbolic link. This way is the best option that can use now. |
||
git add content | ||
git commit -m "publish website" | ||
|
||
## push | ||
# git remote add liubao https://github.com/liubao68/servicecomb-website | ||
# git push --force --progress liubao liubao:liubao |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be changed to the website repo and the committer has the right to push the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The push step is commented, and the publisher should use this step to commit changes and create a PR.