Skip to content

Commit 0f79182

Browse files
committed
Rename current -> stable
1 parent 0533cff commit 0f79182

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ cp util/gh-pages/index.html out/master
1111
python3 ./util/export.py out/master/lints.json
1212

1313
if [[ -n $TAG_NAME ]]; then
14-
echo "Save the doc for the current tag ($TAG_NAME) and point current/ to it"
14+
echo "Save the doc for the current tag ($TAG_NAME) and point stable/ to it"
1515
cp -r out/master "out/$TAG_NAME"
16-
rm -f out/current
17-
ln -s "$TAG_NAME" out/current
16+
rm -f out/stable
17+
ln -s "$TAG_NAME" out/stable
1818
fi
1919

2020
# Generate version index that is shown as root index page

util/gh-pages/versions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ <h3 class="panel-title">
6464

6565
$scope.versionOrder = function(v) {
6666
if (v === 'master') { return Infinity; }
67-
if (v === 'current') { return Number.MAX_VALUE; }
67+
if (v === 'stable') { return Number.MAX_VALUE; }
6868

6969
return $scope.normalizeVersion(v)
7070
.split('.')

util/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
def key(v):
1111
if v == 'master':
1212
return float('inf')
13-
if v == 'current':
13+
if v == 'stable':
1414
return sys.maxsize
1515

1616
v = v.replace('v', '').replace('rust-', '')

0 commit comments

Comments
 (0)