-
Notifications
You must be signed in to change notification settings - Fork 8
/
releaseMe
executable file
·27 lines (22 loc) · 972 Bytes
/
releaseMe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
hyrax_version=1.16.6
olfs_version=1.18.11
lastUpdate=`head -1 ChangeLog | awk '{print $1;}' -`
now=`date "+%Y-%m-%d" `
## -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
## Hyrax-1.16.6
## olfs-1.18.11
##
echo "## -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --" > olfs-$olfs_version.changes
echo "# ${now}" >> olfs-$olfs_version.changes
echo "#" >> olfs-$olfs_version.changes
echo "# Hyrax-${hyrax_version}" >> olfs-$olfs_version.changes
echo "# OLFS-$olfs_version" > olfs-$olfs_version.changes >> olfs-$olfs_version.changes
echo "#" >> olfs-$olfs_version.changes
echo "" >> olfs-$olfs_version.changes
gitlog-to-changelog --since=$lastUpdate >> olfs-$olfs_version.changes
echo " " >> olfs-$olfs_version.changes
echo "$lastUpdate --- hyrax=1.13.0 olfs=1.15.0 " >> olfs-$olfs_version.changes
echo " " >> olfs-$olfs_version.changes
cat olfs-$olfs_version.changes ChangeLog >> foo
mv foo ChangeLog