changelibversion 372 Bytes
Newer Older
1 2
#!/bin/bash

3
VERSION=2.0.0
4

5
perl -i -pe 's/^our \$VERSION.*$/our \$VERSION = '\'$VERSION\'';/' $(find l*/lib/ -name *.pm)
6 7
perl -i -pe 's/(Lemonldap::NG::(?:Common|Handler|Portal|Manager): +v)[\d\.]+/${1}'$VERSION'/' lemonldap-ng-*/META.yml
perl -i -pe "s/('Lemonldap::NG::(?:Common|Handler|Portal|Manager)'\\s*=>\\s*)'[\d\.]+'/\${1}'$VERSION'/" lemonldap-ng-*/Makefile.PL