Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
MDANSE
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scientific Software
MDANSE
Commits
3e031f44
Commit
3e031f44
authored
Mar 09, 2017
by
eric pellegrini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix when getting git commit id in long format
parent
afbd9e0a
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
7 deletions
+11
-7
run_build.sh
BuildServer/Darwin/Scripts/run_build.sh
+1
-1
run_deploy.sh
BuildServer/Darwin/Scripts/run_deploy.sh
+1
-1
run_build.sh
BuildServer/Debian/run_build.sh
+1
-1
run_deploy.sh
BuildServer/Debian/run_deploy.sh
+1
-1
run_build.sh
BuildServer/Windows/run_build.sh
+1
-1
run_deploy.sh
BuildServer/Windows/run_deploy.sh
+1
-1
CHANGELOG
CHANGELOG
+4
-0
__pkginfo__.py
MDANSE/__pkginfo__.py
+1
-1
No files found.
BuildServer/Darwin/Scripts/run_build.sh
View file @
3e031f44
...
...
@@ -17,7 +17,7 @@ BUILD_TARGET=darwin
echo
-e
"
$BLEU
""Getting last MDANSE revision"
"
$NORMAL
"
# Update the __pkginfo__ file with the current commit. The sed -i "" is compulsory other crashes on macos
COMMIT_ID
=
$(
git rev-parse
--long
HEAD
)
COMMIT_ID
=
$(
git rev-parse HEAD
)
sed
-i
""
"s/.*__commit__.*/__commit__ =
\"
${
COMMIT_ID
}
\"
/"
MDANSE/__pkginfo__.py
# Get revision number from git (without trailing newline)
...
...
BuildServer/Darwin/Scripts/run_deploy.sh
View file @
3e031f44
...
...
@@ -10,7 +10,7 @@
ROUGE
=
"
\\
033[1;31m"
BLEU
=
"
\\
033[1;34m"
COMMIT_ID
=
$(
git rev-parse
--long
HEAD
)
COMMIT_ID
=
$(
git rev-parse HEAD
)
VERSION_NAME
=
`
sed
-n
's/__version__.*=.*\"\(.*\)\"/\1/p'
MDANSE/__pkginfo__.py
`
if
[[
${
CI_BUILD_REF_NAME
}
=
~ develop
]]
...
...
BuildServer/Debian/run_build.sh
View file @
3e031f44
...
...
@@ -14,7 +14,7 @@ cd
cd
$CI_PROJECT_DIR
# Update the __pkginfo__ file with the current commit
COMMIT_ID
=
$(
git rev-parse
--long
HEAD
)
COMMIT_ID
=
$(
git rev-parse HEAD
)
sed
-i
"s/.*__commit__.*/__commit__ =
\"
${
COMMIT_ID
}
\"
/"
MDANSE/__pkginfo__.py
# Get revision number from git (without trailing newline)
...
...
BuildServer/Debian/run_deploy.sh
View file @
3e031f44
...
...
@@ -11,7 +11,7 @@ export DISTRO=$2
ROUGE
=
"
\\
033[1;31m"
BLEU
=
"
\\
033[1;34m"
COMMIT_ID
=
$(
git rev-parse
--long
HEAD
)
COMMIT_ID
=
$(
git rev-parse HEAD
)
VERSION_NAME
=
`
sed
-n
's/__version__.*=.*\"\(.*\)\"/\1/p'
MDANSE/__pkginfo__.py
`
if
[[
${
CI_BUILD_REF_NAME
}
=
~ develop
]]
...
...
BuildServer/Windows/run_build.sh
View file @
3e031f44
...
...
@@ -195,7 +195,7 @@ rm pythonlog.txt
cd
${
CI_PROJECT_DIR
}
# Update the __pkginfo__ file with the current commit
COMMIT_ID
=
$(
git rev-parse
--long
HEAD
)
COMMIT_ID
=
$(
git rev-parse HEAD
)
sed
-i
"s/.*__commit__.*/__commit__ =
\"
${
COMMIT_ID
}
\"
/"
MDANSE/__pkginfo__.py
# Get revision number from GIT
...
...
BuildServer/Windows/run_deploy.sh
View file @
3e031f44
...
...
@@ -12,7 +12,7 @@ else
BUILD_TARGET
=
$1
fi
COMMIT_ID
=
$(
git rev-parse
--long
HEAD
)
COMMIT_ID
=
$(
git rev-parse HEAD
)
VERSION_NAME
=
`
sed
-n
's/__version__.*=.*\"\(.*\)\"/\1/p'
MDANSE/__pkginfo__.py
`
if
[[
${
CI_BUILD_REF_NAME
}
=
~ develop
]]
...
...
CHANGELOG
View file @
3e031f44
version 1.0.8
-------------
* bug fix when getting git commit id in long format
version 1.0.7
-------------
* = 1.0.6.a
...
...
MDANSE/__pkginfo__.py
View file @
3e031f44
__version__
=
"1.0.
7
"
__version__
=
"1.0.
8
"
__date__
=
"09-03-2017"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment