Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier Stasse
Gepetto Utils
Commits
bbba859d
Commit
bbba859d
authored
Apr 11, 2018
by
Guilhem Saurel
Browse files
release: put .version also if there is no JRL cmake submodule
parent
55186d35
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/release.sh
View file @
bbba859d
...
...
@@ -19,16 +19,17 @@ else
git tag
-s
"v
$TAG
"
-m
"Release v
$TAG
"
fi
echo
$TAG
>
.version
if
[[
-d
cmake
&&
-x
cmake/git-archive-all.sh
]]
then
./cmake/git-archive-all.sh
--prefix
"
${
SOFTAG
}
/"
-v
"
${
SOFTAG
}
.tar"
tar
rf
"
${
SOFTAG
}
.tar"
--transform
"s=.=
${
SOFTAG
}
/.="
.version
gzip
"
${
SOFTAG
}
.tar"
else
git archive
--format
=
tar
.gz
--prefix
=
"
${
SOFTAG
}
/"
HEAD
>
${
SOFTAG
}
.tar
.gz
git archive
--format
=
tar
--prefix
=
"
${
SOFTAG
}
/"
HEAD
>
${
SOFTAG
}
.tar
fi
echo
$TAG
>
.version
tar
rf
"
${
SOFTAG
}
.tar"
--transform
"s=.=
${
SOFTAG
}
/.="
.version
gzip
"
${
SOFTAG
}
.tar"
gpg
--armor
--detach-sign
"
${
SOFTAG
}
.tar.gz"
echo
-e
"git push --tags"
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment