Permalink
Browse files

Generate the changelog and announcement for 0.2.alpha1 release.

  • Loading branch information...
Andy Chu
Andy Chu committed Nov 7, 2017
1 parent 4c3df40 commit 8cdaa42150f640dc381e7f1fb3abcf2976704c5a
Showing with 24 additions and 3 deletions.
  1. +24 −3 scripts/release.sh
View
@@ -4,11 +4,20 @@
# ./release.sh <function name>
#
# Steps:
# $0 build-and-test
# $0 deploy-tar
# $0 deploy-doc
# $0 build-and-test (runs spec tests, etc.)
# test/wild.sh all
# benchmarks/osh-parser.sh
# - 'auto' on both flanders and lisa
# - summarize
# - report
# $0 line-counts
# $0 build-tree
# $0 compress
# - Generate changelog.html
# - Generate announcment.html (link)
# MAYBE: ./local.sh test-release-tree if you want to preview it
# $0 deploy-tar
# $0 deploy-doc
#
# Then go to oilshell.org repo and do ./deploy.sh all.
@@ -259,6 +268,12 @@ git-changelog-0.1() {
> ../oilshell.org__deploy/release/$version/changelog.html
}
git-changelog-0.2.alpha1() {
local version='0.2.alpha1'
_git-changelog release/0.1.0 release/0.2.alpha1 \
> _release/VERSION/changelog.html
}
# For announcement.html
html-redirect() {
local url=$1
@@ -286,6 +301,12 @@ announcement-0.1() {
> ../oilshell.org__deploy/release/$version/announcement.html
}
announcement-0.2.alpha1() {
local version='0.2.alpha1'
html-redirect '/blog/2017/11/08.html' \
> _release/VERSION/announcement.html
}
_link() {
ln -s -f -v --no-target-directory "$@"
}

0 comments on commit 8cdaa42

Please sign in to comment.