Comment 1 for bug 915651

Revision history for this message
GeekSmith (lixo-geeksmith) wrote :

The best I could come up with was to use a command to grab last year's last release (which should always be a reliable value, right?). Something like this in the debian rules script:
sed -i 's/@@LASTRELEASE@@/'$(( $(date +%y) - 1 ))'.10/' <file>

Where file is either ubuntu-server-tips or the language-specific version of that file. I'm no Makefile magician, so my efforts to actually implement this were brief. If I need to put a little more effort into it, I'd be happy to do so. As a consolation gift, I've attached a patch to fix the current problem, though it won't really work for long.