diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-22 17:10:52 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-22 17:10:52 +0100 |
commit | 145f9aff320942823065d74c405457a43614ca43 (patch) | |
tree | d5248e2f6229f3ba5571bbb5e9f056f8aedce1bc /app | |
parent | d463c79fdb73de154922ac560b6bccf92f5c9058 (diff) | |
download | incommon-map-0.1.4.tar.gz |
Ensure tagged version gives right repo URLv0.1.4
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/incommon.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/incommon.rb b/app/lib/incommon.rb index e843683..e1e3887 100644 --- a/app/lib/incommon.rb +++ b/app/lib/incommon.rb @@ -8,10 +8,10 @@ module INCOMMON # Return a String representation of the current source code URL def repo_url(version) case version + when /^incommon-map (v.*)/ + query="h=#{$1}" when /^incommon-map @(.*)/ query="h=main&id=#{$1}" - when /^incommon-map (v.*)/ - query="h=$1" else query="h=HEAD" end |