Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
devops
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
osm
devops
Commits
b3c42c8e
Commit
b3c42c8e
authored
6 years ago
by
Mike Marchetti
Browse files
Options
Downloads
Patches
Plain Diff
correct devops MDG name
Signed-off-by:
Mike Marchetti
<
mmarchetti@sandvine.com
>
parent
5de0e2d7
No related branches found
Branches containing commit
Tags
v1.0.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
devops-stages/stage-archive.sh
+4
-4
4 additions, 4 deletions
devops-stages/stage-archive.sh
with
4 additions
and
4 deletions
devops-stages/stage-archive.sh
+
4
−
4
View file @
b3c42c8e
...
...
@@ -15,7 +15,7 @@
# under the License.
PKG_DIRECTORIES
=
"jenkins installers systest juju-charms descriptor-packages tools"
MDG_NAME
=
osm-
devops
MDG_NAME
=
devops
DEB_INSTALL
=
debian/
$MDG_NAME
.install
export
DEBEMAIL
=
"mmarchetti@sandvine.com"
export
DEBFULLNAME
=
"Michael Marchetti"
...
...
@@ -24,9 +24,9 @@ PKG_VERSION=$(git describe --tags --abbrev=0)
PKG_VERSION_PREFIX
=
$(
echo
$PKG_VERSION
|
sed
-e
's/v//g'
)
PKG_VERSION_POST
=
$(
git rev-list
$PKG_VERSION
..HEAD |
wc
-l
)
if
[
"
$PKG_VERSION_POST
"
-eq
0
]
;
then
PKG_DIR
=
"
${
MDG_NAME
}
-
${
PKG_VERSION_PREFIX
}
"
PKG_DIR
=
"
osm-
${
MDG_NAME
}
-
${
PKG_VERSION_PREFIX
}
"
else
PKG_DIR
=
"
${
MDG_NAME
}
-
$PKG_VERSION_PREFIX
.post
${
PKG_VERSION_POST
}
"
PKG_DIR
=
"
osm-
${
MDG_NAME
}
-
$PKG_VERSION_PREFIX
.post
${
PKG_VERSION_POST
}
"
fi
rm
-rf
$PKG_DIR
...
...
@@ -37,7 +37,7 @@ mkdir -p $PKG_DIR
for
dir
in
$PKG_DIRECTORIES
;
do
ln
-s
$PWD
/
$dir
$PKG_DIR
/.
echo
"
$dir
/* usr/share/
$MDG_NAME
/
$dir
"
>>
$DEB_INSTALL
echo
"
$dir
/* usr/share/
osm-
$MDG_NAME
/
$dir
"
>>
$DEB_INSTALL
done
cp
-R
debian
$PKG_DIR
/.
...
...
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