Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
14352e9c
Commit
14352e9c
authored
Jul 14, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some text improvement
parent
69df9bc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
rpmlog
bin/rpmlog
+4
-6
No files found.
bin/rpmlog
View file @
14352e9c
#!/bin/sh
# 2010 (c) Etersoft http://etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru>
# Script for update changelog or increment release
# You can use this script separately in your project with
#. /usr/share/eterbuild/eterbuild
# instead follow loader
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod spec rpm git etersoft
if
[
"
$1
"
=
"-h"
]
;
then
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echog
"rpmlog - update changelog"
echog
"Usage: rpmlog [-r|-s] [-l|-t] [SPEC] [TAG]"
echog
"Options:"
...
...
@@ -61,7 +59,7 @@ if [ ! -r "$SPECNAME" ] ; then
fatal
"Spec
$SPECNAME
does not found"
fi
[
-n
"
$CHANGELOGUPDATE$TESTRUN
"
]
||
fatal
"Run with -
l param
"
[
-n
"
$CHANGELOGUPDATE$TESTRUN
"
]
||
fatal
"Run with -
t param for test or with -h for help
"
if
[
-z
"
$FROMTAG
"
]
;
then
build_rpms_name
$SPECNAME
...
...
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