[dune-common] 01/07: get-orig-source: no longer include Git commit id in version
Ansgar Burchardt
ansgar at moszumanska.debian.org
Mon Nov 13 23:18:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
ansgar pushed a commit to annotated tag debian/2.6_20171113-1
in repository dune-common.
commit 98f5783e5db35de02e4c57aab6bbc34a08cbabe9
Author: Ansgar Burchardt <ansgar at debian.org>
Date: Mon Nov 13 19:03:02 2017 +0100
get-orig-source: no longer include Git commit id in version
`git get-tar-commit-id` can be used to extract the commit id.
---
debian/get-orig-source | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/get-orig-source b/debian/get-orig-source
index 1eeab41..1d7deff 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -99,11 +99,10 @@ fi
export GIT_DIR
if [[ $snapshot ]]; then
- rev="$(git rev-parse --short ${branch})"
date=$(git log -1 --pretty="format:%ci" ${branch})
date=${date%% *}
date=${date//-/}
- version="${version}${date}g${rev}"
+ version="${version}${date}"
fi
origdir="$module-$version.orig"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dune-common.git
More information about the debian-science-commits
mailing list