Skip to content

Commit

Permalink
auto add version info
Browse files Browse the repository at this point in the history
  • Loading branch information
fdev31 committed Nov 2, 2024
1 parent b2040d2 commit e081deb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/make_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ cp *.md versions/$version/
sed -i '/## What/,$d' versions/$version/index.md
echo "## Version $version archive" >> versions/$version/index.md
git add versions/$version/*.md

sed -i "/const version_names/s#\]\$#, '${version}']#" .vitepress/config.mjs
git add .vitepress/config.mjs

git commit . -m "Archive documentation for version $version" --no-verify

0 comments on commit e081deb

Please sign in to comment.