mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-13 04:42:13 -08:00
Changed the file for tagging ECL releases
This commit is contained in:
parent
7e694a08fd
commit
cae50cb7b3
1 changed files with 9 additions and 4 deletions
13
src/util/tag
13
src/util/tag
|
|
@ -1,9 +1,14 @@
|
|||
#!/bin/sh
|
||||
k="CVS `date +"%Y-%m-%d %H:%M"`"
|
||||
k=".`date +"%d%H%M"`"
|
||||
file="src/lsp/config.lsp.in"
|
||||
if [ -f $file ]; then
|
||||
echo "Tagging ECL with date $k"
|
||||
sed "s,@PACKAGE_VERSION@.*\",@PACKAGE_VERSION@ ($k)\",g" < $file > foo && \
|
||||
if test -f $file ; then
|
||||
if test -z "$1" ; then
|
||||
echo "Tagging ECL with $k"
|
||||
else
|
||||
echo "Untagging ECL"
|
||||
k=""
|
||||
fi
|
||||
sed "s,@PACKAGE_VERSION@.*\",@PACKAGE_VERSION@$k\",g" < $file > foo && \
|
||||
mv foo $file && grep PACKAGE_VERSION $file
|
||||
else
|
||||
echo "Cannot find file to tag"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue