spark-instrumented-optimizer/dev/create-release
HyukjinKwon 2526fdea48 [SPARK-34657][PYTHON][DOCS] Replace the tag of release to the hash to hide RC tags in Binder
### What changes were proposed in this pull request?

Currently Binder link at Spark 3.1.1 (https://mybinder.org/v2/gh/apache/spark/v3.1.1-rc3?filepath=python%2Fdocs%2Fsource%2Fgetting_started%2Fquickstart.ipynb) shows  `v3.1.1-rc3` like:
![Screen Shot 2021-03-08 at 10 10 55 AM](https://user-images.githubusercontent.com/6477701/110262729-ecb70880-7ff7-11eb-92ba-f151d74985a6.png)

After the fix, it will shows the explicit hash:

![Screen Shot 2021-03-08 at 10 17 25 AM](https://user-images.githubusercontent.com/6477701/110262740-f476ad00-7ff7-11eb-8632-5b418ff87024.png)

In addition, this also fixes the examples URL while I am fixing it. For example: https://github.com/apache/spark/tree/v3.1.1-rc3/examples/src/main/python -> https://github.com/apache/spark/tree/1d550c4e902/examples/src/main/python

Note that it is hash in order to make both dev and release easier.

### Why are the changes needed?

To hide RC tags.

### Does this PR introduce _any_ user-facing change?

It will just change the URL shown when Binder is being loaded.

### How was this patch tested?

Manually tested:

```bash
make clean html
```

![Screen Shot 2021-03-08 at 10 17 06 AM](https://user-images.githubusercontent.com/6477701/110262813-2ee04a00-7ff8-11eb-9983-c4484f7832c4.png)

```bash
git_hash=`git rev-parse --short HEAD`
export GIT_HASH=$git_hash
make clean html
```

![Screen Shot 2021-03-08 at 10 17 25 AM](https://user-images.githubusercontent.com/6477701/110262805-2982ff80-7ff8-11eb-8560-e1e2aa7b263a.png)

Closes #31773 from HyukjinKwon/SPARK-34657.

Authored-by: HyukjinKwon <gurwls223@apache.org>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
2021-03-08 10:48:17 +09:00
..
spark-rm [SPARK-34433][DOCS] Lock Jekyll version by Gemfile and Bundler 2021-02-18 12:17:57 +09:00
announce.tmpl [SPARK-28951][INFRA] Add release announce template 2019-09-02 14:55:05 -07:00
do-release-docker.sh [SPARK-34539][BUILD][INFRA] Remove stand-alone version Zinc server 2021-03-01 08:39:38 -06:00
do-release.sh Revert "[SPARK-31860][BUILD] only push release tags on succes" 2020-06-12 17:50:43 +08:00
generate-contributors.py [SPARK-34551][INFRA] Fix credit related scripts to recover, drop Python 2 and work with Python 3 2021-02-26 20:19:33 +09:00
known_translations [MINOR] Add more known translations of contributors 2021-02-27 01:02:11 +09:00
release-build.sh [SPARK-34657][PYTHON][DOCS] Replace the tag of release to the hash to hide RC tags in Binder 2021-03-08 10:48:17 +09:00
release-tag.sh [SPARK-32556][INFRA] Fix release script to have urlencoded passwords where required 2020-08-07 03:31:45 -05:00
release-util.sh [SPARK-32556][INFRA] Fix release script to have urlencoded passwords where required 2020-08-07 03:31:45 -05:00
releaseutils.py [SPARK-34551][INFRA] Fix credit related scripts to recover, drop Python 2 and work with Python 3 2021-02-26 20:19:33 +09:00
translate-contributors.py [SPARK-34553][INFRA] Rename GITHUB_API_TOKEN to GITHUB_OAUTH_KEY in translate-contributors.py 2021-02-26 20:20:31 +09:00
vote.tmpl [MINOR] Add a note about pip installation test in RC for release vote template 2021-02-08 22:24:42 +09:00