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
f06cd1ea
Commit
f06cd1ea
authored
Aug 24, 2018
by
Pavel Vainerman
Committed by
Vitaly Lipatov
Aug 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for --last-changelog and --last-version commands.
Run before checking other commands.
parent
1171f19e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
rpmlog
bin/rpmlog
+11
-11
No files found.
bin/rpmlog
View file @
f06cd1ea
...
@@ -115,7 +115,17 @@ if [ ! -r "$SPECNAME" ] ; then
...
@@ -115,7 +115,17 @@ if [ ! -r "$SPECNAME" ] ; then
fatal
"Spec
$SPECNAME
does not found"
fatal
"Spec
$SPECNAME
does not found"
fi
fi
[
-n
"
$CHANGELOGADD$CHANGELOGUPDATE$TESTRUN$LASTVERCMD$LASTCHANGELOGCMD
"
]
||
fatal
"Run with -t param for test or with -h for help"
if
[
-n
"
$LASTVERCMD
"
]
;
then
echo
$(
get_version
$SPECNAME
)
-
$(
get_release
$SPECNAME
)
exit
$?
fi
if
[
-n
"
$LASTCHANGELOGCMD
"
]
;
then
get_last_changelog
$SPECNAME
exit
$?
fi
[
-n
"
$CHANGELOGADD$CHANGELOGUPDATE$TESTRUN
"
]
||
fatal
"Run with -t param for test or with -h for help"
if
[
-z
"
$FROMTAG
"
]
;
then
if
[
-z
"
$FROMTAG
"
]
;
then
build_rpms_name
$SPECNAME
build_rpms_name
$SPECNAME
...
@@ -155,16 +165,6 @@ if [ "$INCREMENTMODE" = "-a" ] ; then
...
@@ -155,16 +165,6 @@ if [ "$INCREMENTMODE" = "-a" ] ; then
fi
fi
fi
fi
if
[
-n
"
$LASTVERCMD
"
]
;
then
echo
$(
get_version
$SPECNAME
)
-
$(
get_release
$SPECNAME
)
exit
$?
fi
if
[
-n
"
$LASTCHANGELOGCMD
"
]
;
then
get_last_changelog
$SPECNAME
exit
$?
fi
# increment release
# increment release
case
"
$INCREMENTMODE
"
in
case
"
$INCREMENTMODE
"
in
"-r"
)
"-r"
)
...
...
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