Changeset ca5e52a
- Timestamp:
- 05/01/2021 02:07:11 PM (3 years ago)
- Branches:
- 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 9d0684c
- Parents:
- 4a570af1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
book/bookinfo.xml
r4a570af1 rca5e52a 48 48 <revhistory> 49 49 <revision> 50 <revnumber>& short-version;</revnumber>50 <revnumber>&version;</revnumber> 51 51 <date>&pubdate;</date> 52 52 <revremark>Ongoing Release</revremark> -
general.ent
r4a570af1 rca5e52a 14 14 <!ENTITY releasedate "September 1st, &year;"> 15 15 <!ENTITY pubdate "&year;-&month;-&day;"> 16 <!ENTITY short-version "&version;">17 16 --> 18 17 -
git-version.sh
r4a570af1 rca5e52a 32 32 full_date="$month $day$suffix, $year" 33 33 34 sha="g$(git describe --always)" 35 version="$short_date-$sha" 34 sha="$(git describe --abbrev=1)" 35 if git describe --all --match trunk > /dev/null 2> /dev/null; then 36 sha=$(echo "$sha" | sed 's/-g[^-]*$//') 37 fi 38 version="$sha" 36 39 37 40 if [ "$(git diff HEAD | wc -l)" != "0" ]; then 38 version="$version -MODIFIED"41 version="$version+" 39 42 fi 40 43 … … 44 47 echo "<!ENTITY copyrightdate \"2001-$year\">" >> version.ent 45 48 echo "<!ENTITY version \"$version\">" >> version.ent 46 echo "<!ENTITY short-version \"$sha\">" >> version.ent47 49 echo "<!ENTITY releasedate \"$full_date\">" >> version.ent 48 50 echo "<!ENTITY pubdate \"$short_date\">" >> version.ent
Note:
See TracChangeset
for help on using the changeset viewer.