Skip to content

Commit

Permalink
hide version directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wazari972 committed Jan 27, 2015
1 parent 2a90bd3 commit 1884d8b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions WebAlbums-FS/WebAlbums-FS/build.xml
Expand Up @@ -16,10 +16,10 @@
<format property="builtat" pattern=" MM/dd/yyyy hh:mm aa" timezone="Europe/Paris"/>
</tstamp>
<exec executable="bash" outputproperty="git-tag"><arg value="-c"/>
<arg value="cat ../../VERSION/wfs"/>
<arg value="cat ../../.VERSION/wfs"/>
</exec>
<exec executable="bash" outputproperty="git-since"><arg value="-c"/>
<arg value="git log -n 1 --pretty=format:%h -- ../../VERSION/wfs"/>
<arg value="git log -n 1 --pretty=format:%h -- ../../.VERSION/wfs"/>
</exec>
<exec executable="bash" outputproperty="git-count"><arg value="-c"/>
<arg value="git rev-list --count ${git-since}..HEAD ."/>
Expand Down
4 changes: 2 additions & 2 deletions WebAlbums-Service-Beans/build.xml
Expand Up @@ -16,10 +16,10 @@
<format property="builtat" pattern=" MM/dd/yyyy hh:mm aa" timezone="Europe/Paris"/>
</tstamp>
<exec executable="bash" outputproperty="git-tag"><arg value="-c"/>
<arg value="cat ../VERSION/webapp"/>
<arg value="cat ../.VERSION/webapp"/>
</exec>
<exec executable="bash" outputproperty="git-since"><arg value="-c"/>
<arg value="git log -n 1 --pretty=format:%h -- ../VERSION/webapp"/>
<arg value="git log -n 1 --pretty=format:%h -- ../.VERSION/webapp"/>
</exec>
<exec executable="bash" outputproperty="git-count"><arg value="-c"/>
<arg value="git rev-list --count ${git-since}..HEAD ../WebAlbums-Service-Beans ../WebAlbums-Servlet ../WebAlbums-FS/WebAlbums-FS"/>
Expand Down
4 changes: 2 additions & 2 deletions packaging/ArchLinux/PKGBUILD
Expand Up @@ -78,8 +78,8 @@ pkgver() {
esac

if [ -z $version ]; then
version=$(head -1 "VERSION/$package")
since=$(git log -n 1 --pretty=format:%h -- VERSION_$package)
version=$(head -1 ".VERSION/$package")
since=$(git log -n 1 --pretty=format:%h -- .VERSION/$package)
fi

cnt=$(git rev-list --count $since..HEAD $project)
Expand Down

0 comments on commit 1884d8b

Please sign in to comment.