Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions websites/site/contributing/make-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,17 @@ Remove the old releases from SVN under https://dist.apache.org/repos/dist/releas
> [!IMPORTANT]
> Only update the version if it's a new stable version.

- Update the `/websites/site/lucenetemplate/.htaccess` file to reflect the `latest` and `absoluteLatest` versions.
- `latest` should reflect the current release only if it is not a pre-release
- `absoluteLatest` should reflect the current release (whether pre-release or not)
<br/>
<br/>
- Create a new release page in the `/websites/site/download`, in most cases it's easiest to just copy the previous release page.
- Ensure the `uid` in the header is correct
- Update all headers, status, release date to be correct
- Ensure supported frameworks and packages section is accurate for the new release

<br/>
<br/>
- Add the new release page to the `/websites/site/download/toc.yml` file

- Add the new release version and release date to the `/websites/site/download/download.md` file
Expand All @@ -361,7 +367,8 @@ Remove the old releases from SVN under https://dist.apache.org/repos/dist/releas
- Update the API Documentation with new release

- Follow the instructions on how to [build](https://lucenenet.apache.org/contributing/documentation.html#api-docs), test and [publish](https://lucenenet.apache.org/contributing/documentation.html#publishing-the-docs) the docs.

<br/>
<br/>
- Send announcement email 24 hours after the release (to ensure the mirrors have propagated the download locations)

> [!IMPORTANT]
Expand Down
4 changes: 3 additions & 1 deletion websites/site/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
},
{
"files": [
"doap_Lucene_Net.rdf"
"doap_Lucene_Net.rdf",
".gitattributes",
".htaccess"
],
"src": "lucenetemplate"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
Expand Down Expand Up @@ -42,4 +42,4 @@ RewriteEngine On
RewriteRule ^docs/latest/(.*)$ /docs/3.0.3/$1 [R=301,L]

# Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00017/
RewriteRule ^docs/absolute-latest/(.*)$ /docs/4.8.0-beta00017/$1 [R=301,L]
RewriteRule ^docs/absolute(-latest|Latest)/(.*)$ /docs/4.8.0-beta00017/$1 [R=301,L]
8 changes: 0 additions & 8 deletions websites/site/site.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ if ($Clean) {
Remove-Item (Join-Path -Path $SiteFolder "obj") -force -ErrorAction SilentlyContinue
}

if (!(Test-Path $SiteFolder)) {
New-Item $SiteFolder -ItemType Directory
}

# Copy the .htaccess & .gitattributes files to the _site directory after cleaning
Copy-Item -Path (Join-Path -Path $SiteFolder ".htaccess") -Destination (Join-Path -Path $SiteFolder "_site\.htaccess") -Force
Copy-Item -Path (Join-Path -Path $SiteFolder ".gitattributes") -Destination (Join-Path -Path $SiteFolder "_site\.gitattributes") -Force

$DocFxJson = Join-Path -Path $SiteFolder "docfx.json"
$DocFxLog = Join-Path -Path $SiteFolder "obj\docfx.log"

Expand Down