Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
beamerx
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
typographix
beamerx
Commits
9d7fedcb
Unverified
Commit
9d7fedcb
authored
8 years ago
by
w2ak
Browse files
Options
Downloads
Patches
Plain Diff
makeversion: corrections
parent
89098c1a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+2
-2
2 additions, 2 deletions
CHANGELOG.md
makeversion
+3
-3
3 additions, 3 deletions
makeversion
with
5 additions
and
5 deletions
CHANGELOG.md
+
2
−
2
View file @
9d7fedcb
...
...
@@ -10,7 +10,7 @@
### 2.0.0-beta
Changed the whole layout, based on models from the Direction of Communication at
*
Changed the whole layout, based on models from the Direction of Communication at
the École polytechnique.
# 1
...
...
@@ -19,4 +19,4 @@ the École polytechnique.
### 1.0.0
Basic beamer package, based on the
`Berkeley`
theme.
*
Basic beamer package, based on the
`Berkeley`
theme.
This diff is collapsed.
Click to expand it.
makeversion
+
3
−
3
View file @
9d7fedcb
...
...
@@ -45,15 +45,15 @@ compareversions () {
makechangelog
()
{
echo
-e
"
\n
# Enter here the informations about changes in your program in version %s."
"
$newv
"
>
release/changelog
tag
=
$
{
oldv
%%-*
}
;
tag
=
$
(
git describe
--tags
--abbrev
=
0
)
;
git log
--oneline
"
$tag
"
..HEAD |
sed
's/^/# /'
>>
release/changelog
vim
-c
'set ft=gitcommit | set tw=80 | set cc=+1 | startinsert'
release/changelog
wc
=
$(
sed
'/^#/ d'
release/changelog |
wc
-w
)
wc
=
$(
sed
'
1d; 2d;
/^#/ d'
release/changelog |
wc
-w
)
if
[
$wc
-gt
0
]
;
then
{
cat
release/changelog_before
cat
release/changelog_template
sed
'/^#/ d'
release/changelog
sed
'
1d; 2d;
/^#/ d'
release/changelog
echo
""
cat
release/changelog_after
}
|
uniq
>
CHANGELOG.md
...
...
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