Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
e9e1b864
There was an error fetching the commit references. Please try again later.
Commit
e9e1b864
authored
9 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.1' into v2.2
parents
197a95de
a451840f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/maketools/update-version.sh
+2
-2
2 additions, 2 deletions
src/maketools/update-version.sh
with
2 additions
and
2 deletions
src/maketools/update-version.sh
+
2
−
2
View file @
e9e1b864
...
...
@@ -19,9 +19,9 @@ echo "#define PLUMED_VERSION_LONG \"$(
echo
"#define PLUMED_VERSION_GIT
\"
$(
if
test
-d
../../.git
&&
hash
git 2> /dev/null
;
then
# describe --tags gives a ni
v
e name
# describe --tags gives a ni
c
e name
# in case it does not work, fallback to normal hash (12 char long)
git describe
--
tag
s
||
git rev-parse
--short
=
12 HEAD
git describe
--
long
--tags
--dirty
--alway
s
||
git rev-parse
--short
=
12 HEAD
else
echo
"Unknown"
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment