projects
/
dbuscron
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
git attributes and helper scripts
[dbuscron]
/
scripts
/
git-filters
/
smudge-version
1
#!/usr/bin/perl
2
chomp($git_version = `git describe --tags`);
3
while (<>) {
4
s/^__version__ = "dev"$/__version__ = "$git_version"/;
5
print;
6
}