Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Gepetto Utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Gepetto
Gepetto Utils
Commits
b7df715e
Commit
b7df715e
authored
4 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
release: don't show instructions
parent
00b271c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4
Update robotpkg-test-rc.py for pinocchio v2.0.0 tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/release.sh
+5
-7
5 additions, 7 deletions
scripts/release.sh
with
5 additions
and
7 deletions
scripts/release.sh
+
5
−
7
View file @
b7df715e
...
...
@@ -4,7 +4,7 @@
# pkg_name defaults to the name of the current working directory
# eg.: ./release.sh 0.8.1
set
-e
set
-e
x
TAG
=
$1
SOFT
=
${
2
:-
$(
basename
$(
pwd
))
}
...
...
@@ -36,10 +36,8 @@ tar rf "${SOFTAG}.tar" --transform "s=.=${SOFTAG}/.=" .version
gzip
"
${
SOFTAG
}
.tar"
gpg
--armor
--detach-sign
"
${
SOFTAG
}
.tar.gz"
[[
-f
"
${
SOFTAG
}
.tar.gz.asc"
]]
&&
mv
"
${
SOFTAG
}
.tar.gz.asc"
"
${
SOFTAG
}
.tar.gz.sig"
echo
-e
"# Done ! Now you have to run:"
echo
-e
"git push --tags"
TAGS
=
$(
git tag
-l
|grep
'^v'
|tail
-n2
|sed
':a;N;$!ba;s/\n/../g'
)
echo
-e
"git log --grep='Merge pull request #' --date-order --pretty='format:- %b'
$TAGS
"
echo
-e
"git log --grep='Merge branch' --date-order --pretty='format:- %b'
$TAGS
| grep '^-'"
echo
-e
"# Draft new release"
rm
.version
mkdir
-p
build
mv
"
${
SOFTAG
}
"
*
build/
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