Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deb-icinga2-templates
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
github-mirror
deb-icinga2-templates
Commits
1e202cea
Commit
1e202cea
authored
Feb 05, 2018
by
Markus Frosch
📣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_snapshot: Fix tarball suffix
parent
f6c041d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
get_snapshot
get_snapshot
+1
-1
No files found.
get_snapshot
View file @
1e202cea
...
...
@@ -61,7 +61,7 @@ if ! git_version=$(git describe --tags "${UPSTREAM_GIT_BRANCH}"); then
git_version
=
0.0.0.
$(
git rev-list
--count
"
${
UPSTREAM_GIT_BRANCH
}
"
)
.
$(
git rev-parse
--short
=
12
"
${
UPSTREAM_GIT_BRANCH
}
"
)
fi
package_version
=
$(
echo
"
$git_version
"
|
sed
-e
's/^v//'
-e
's/-/+/'
-e
's/-/./g'
)
tarball
=
"
${
workdir
}
/
${
PROJECT
}
_
${
package_version
}
.tar"
tarball
=
"
${
workdir
}
/
${
PROJECT
}
_
${
package_version
}
.
orig.
tar"
git archive
--format
=
tar
--prefix
=
"
${
PROJECT
}
_
${
package_version
}
/"
-o
"
${
tarball
}
"
"
${
UPSTREAM_GIT_BRANCH
}
"
...
...
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