Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Apr 24, 2019
1 parent bd9585c commit 3c276fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions bin/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,11 @@ protected function doExecute()

$this->upNewVersions($nextVersion);

if (!$nextVersion)
{
$v = array_pad(explode('.', $version), 3, 0);
$v = array_pad(explode('.', $nextVersion), 3, 0);

$v[0] += 2;
$v[0] += 2;

$nextVersion = implode('.', $v);
}
$nextVersion = implode('.', $v);

$this->upVersions($nextVersion);

Expand Down
2 changes: 1 addition & 1 deletion windwalker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<author>Asika</author>
<authorEmail>asika32764@gmail.com</authorEmail>
<authorUrl>http://lyrasoft.net</authorUrl>
<version>2.1.20</version>
<version>4.1.20</version>
<newversion>2.1.20</newversion>
<description>LIB_WINDWALKER_XML_DESC</description>

Expand Down

0 comments on commit 3c276fe

Please sign in to comment.