Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
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
mantidproject
mantid
Commits
c67f1e46
Commit
c67f1e46
authored
6 years ago
by
Peterson, Peter
Browse files
Options
Downloads
Patches
Plain Diff
Flip logic in checking for changes
parent
80cac032
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
buildconfig/Jenkins/dev_site.sh
+1
-1
1 addition, 1 deletion
buildconfig/Jenkins/dev_site.sh
with
1 addition
and
1 deletion
buildconfig/Jenkins/dev_site.sh
+
1
−
1
View file @
c67f1e46
...
@@ -54,7 +54,7 @@ if [ "builder" == "$USER" ]; then
...
@@ -54,7 +54,7 @@ if [ "builder" == "$USER" ]; then
git config user.email
"mantid-buildserver@mantidproject.org"
git config user.email
"mantid-buildserver@mantidproject.org"
fi
fi
if
[
$(
git diff
--quiet
)
]
;
then
if
[
!
$(
git diff
--quiet
)
]
;
then
echo
"Committing new site"
echo
"Committing new site"
git add
.
git add
.
git commit
-m
"Automatic update of developer site"
git commit
-m
"Automatic update of developer site"
...
...
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