Skip to content

Commit

Permalink
fix version in documentation patching #3
Browse files Browse the repository at this point in the history
  • Loading branch information
matyaskopp committed May 29, 2024
1 parent a4514b7 commit dd621bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/prepare-tred-web-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ cp -f ${TRED_DIST_DIR}/documentation/refactoring/TrEd_refactoring.pdf ${WWW}/tre
##change urls in index.html to point to the directory of that index, should be changed when there is another place for TrEd
xsh2 -P ${WWW}/tred/index.html 'nobackups; rm //*[@class="offline"]; map :i { s{^TRED_HOME_URL/}{} } //@href;' && \

# Fix SVN version in links and text...
SVN_VERSION=`svn info . | grep 'Revision:' | sed -E 's/[^0-9]+//g'`
sed -i "s/(SVN:VERSION)/$SVN_VERSION/g" ${WWW}/tred/index.html
# Fix git date version in links and text...
GIT_DATE=`git log -1 --date=format:"%Y%m%d" --format="%ad"|tr -d "\n"`
sed -i "s/(GIT:DATE)/$GIT_DATE/g" ${WWW}/tred/index.html

##ATT if we want ActivePerl ppm packages
# we need to run win32_ppm/get_packages_tred_58 a get_packages_tred_510.sh before this is run
Expand Down

0 comments on commit dd621bc

Please sign in to comment.