This is an automated email from the ASF dual-hosted git repository.
omalley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/master by this push:
new 5fe37bf fixup site
5fe37bf is described below
commit 5fe37bf5f37516b52fed99a5a2c028f306ac48d5
Author: Owen O'Malley <[email protected]>
AuthorDate: Fri Jan 31 10:34:44 2020 -0800
fixup site
---
site/develop/make-release.md | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/site/develop/make-release.md b/site/develop/make-release.md
index 67d623c..4ca129f 100644
--- a/site/develop/make-release.md
+++ b/site/develop/make-release.md
@@ -136,7 +136,7 @@ Change directory in to site.
% cd target
Set up site/target to be a separate git workspace that tracks the asf-site
branch.
% git init
-% git remote add origin https://gitbox.apache.org/repos/asf/orc.git -t asf-site
+% git remote add origin [email protected]:apache/orc.git -t asf-site
% git fetch origin
% git checkout asf-site
% cd ..
@@ -147,16 +147,14 @@ Set up site/target to be a separate git workspace that
tracks the asf-site branc
* stable = other release still in dist
* archived = removed from dist
* create a new file _posts/YYYY-MM-DD-ORC-X.Y.Z.md for the news section
-* Run "docker build -t orc-site ."
-* Run "docker run -d -p 4000:4000 orc-site"
-* Check the website on http://0.0.0.0:4000/
+* Run `docker build -t orc-site .`
+* Run `CONTAINER=$(docker run -d -p 4000:4000 orc-site)`
+* Check the website on [http://0.0.0.0:4000/](http://0.0.0.0:4000/)
* If it looks good, copy the results out of docker:
- * Find the name of the container using "docker ps".
- * Run "docker cp $CONTAINER:/home/orc/site/target ."
- * Run "docker stop $CONTAINER"
+ * Run `docker cp $CONTAINER:/home/orc/site/target .`
+ * Run `docker stop $CONTAINER`
+
~~~
-% pwd
-<path-to-master-src>/site
% git commit -am "Update site for X.Y.Z"
% git push origin master
~~~
@@ -165,11 +163,8 @@ Set up site/target to be a separate git workspace that
tracks the asf-site branc
* Add the new files that you just generated.
* This assumes you've set up site/target to be a separate git workspace
that tracks the asf-site branch.
* Commit to asf-site to publish the updated site.
-
~~~
% cd target
-% pwd
-<path-to-master-src>/site/target
% git commit -am "Publish site for X.Y.Z"
% git push origin asf-site
~~~