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
0bafee54
There was an error fetching the commit references. Please try again later.
Commit
0bafee54
authored
9 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.1'
parents
017626bd
5a747c19
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
release.sh
+11
-3
11 additions, 3 deletions
release.sh
src/core/ActionRegister.h
+1
-5
1 addition, 5 deletions
src/core/ActionRegister.h
with
12 additions
and
8 deletions
release.sh
+
11
−
3
View file @
0bafee54
...
...
@@ -20,6 +20,10 @@ confirm () {
VALIDATED
=
if
[
"
$1
"
=
--validated
]
;
then
VALIDATED
=
yes
elif
test
-n
"
$1
"
;
then
echo
ERROR
echo
"cannot understand
$1
option"
exit
1
fi
...
...
@@ -89,26 +93,30 @@ if ! test "$VALIDATED" ; then
echo
" http://plumed.github.io/doc-v
$shortversion
"
echo
"In case of success, relaunch this script as
\"
./release.sh --validated
\"
"
else
echo
"Updating VERSION file to
$version
"
{
grep
\#
VERSION
echo
$version
}
>
VERSION.tmp
mv
VERSION.tmp VERSION
git add VERSION
echo
"Here's the new VERSION file:"
echo
"***"
cat
VERSION
echo
"***"
msg
=
"Release v
$version
[makedoc]"
echo
"Now I will
make the
release commit, add a tag named v
$version
"
echo
"Now I will
add it, prepare a
release commit, add a tag named v
$version
"
echo
"push it to origin and create a tgz file"
echo
"I will use the following commands:"
echo
"***"
echo
"git add VERSION"
echo
"git commit --allow-empty -m
\"
$msg
\"
"
echo
"git tag v
$version
"
echo
"git push origin v
$version
"
echo
"git archive -o plumed-
$version
.tgz --prefix plumed-
$version
/ v
$version
"
echo
"***"
confirm
||
exit
git add VERSION
git commit
--allow-empty
-m
"
$msg
"
git tag v
$version
git push origin v
$version
...
...
This diff is collapsed.
Click to expand it.
src/core/ActionRegister.h
+
1
−
5
View file @
0bafee54
...
...
@@ -95,11 +95,7 @@ std::ostream & operator<<(std::ostream &log,const ActionRegister&ar);
#define PLUMED_CONCATENATE_DIRECT(s1, s2) s1##s2
#define PLUMED_CONCATENATE(s1, s2) PLUMED_CONCATENATE_DIRECT(s1, s2)
#ifdef _MSC_VER // Necessary for edit & continue in MS Visual C++.
# define PLUMED_UNIQUENAME(str) PLUMED_CONCATENATE(str, __COUNTER__)
#else
# define PLUMED_UNIQUENAME(str) PLUMED_CONCATENATE(str, __LINE__)
#endif
#define PLUMED_UNIQUENAME(str) PLUMED_CONCATENATE(str, __LINE__)
/// Shortcut for Action registration
/// \relates PLMD::ActionRegister
...
...
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