Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
abuild
Commits
ede42037
Commit
ede42037
authored
Nov 26, 2018
by
Timothy Legge
Committed by
Natanael Copa
Mar 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apkbuild-cpan.in fix issue with version check
parent
42219985
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apkbuild-cpan.in
apkbuild-cpan.in
+2
-2
No files found.
apkbuild-cpan.in
View file @
ede42037
...
...
@@ -371,7 +371,7 @@ given ( $ARGV[0] ) {
when
("
upgrade
")
{
my
(
$apkbuild
,
$distdata
,
$moddata
)
=
get_data
;
my
$pkgver
=
$
distdata
->
{
metadata
}
{
version
};
my
$pkgver
=
$
moddata
->
{
version
};
if
(
$pkgver
!=
$apkbuild
->
{
pkgver
})
{
say
"
Upgrading CPAN module from
$apkbuild
->{pkgver} to
$pkgver
";
...
...
@@ -391,7 +391,7 @@ given ( $ARGV[0] ) {
}
when
('
check
')
{
my
(
$apkbuild
,
$distdata
,
$moddata
)
=
get_data
;
my
$pkgver
=
$
distdata
->
{
metadata
}
{
version
};
my
$pkgver
=
$
moddata
->
{
version
};
say
"
$apkbuild
->{pkgname}: Latest version:
$pkgver
Packaged version:
$apkbuild
->{pkgver}
";
if
(
$pkgver
ne
$apkbuild
->
{
pkgver
})
{
exit
(
1
);
...
...
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