mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-09 10:23:51 +00:00
release info - nightly prerelease is marked prerelease
This commit is contained in:
@@ -157,6 +157,13 @@ $ICONS_URL = "https://github.com/jindrapetrik/jpexs-decompiler/wiki/images";
|
||||
|
||||
$body = "";
|
||||
|
||||
$is_prerelease = $changelog_section === "Unreleased";
|
||||
|
||||
if($is_prerelease) {
|
||||
$body .= "## Prerelease WARNING\n".
|
||||
"**This is prerelease nightly version. It should *NOT* be considered as stable.**\n\n";
|
||||
}
|
||||
|
||||
$body .= "## Downloads:\n".
|
||||
"\n".
|
||||
"| Name | File | OS |\n".
|
||||
@@ -225,7 +232,12 @@ if($changelog_data === false)
|
||||
}
|
||||
|
||||
$body .= "\n";
|
||||
$body .= "## What's new:\n";
|
||||
if($is_prerelease)
|
||||
{
|
||||
$body .= "## What's new since last stable version:\n";
|
||||
}else{
|
||||
$body .= "## What's new:\n";
|
||||
}
|
||||
$body .= $changelog_data;
|
||||
$body .= "\n";
|
||||
foreach($footer_links as $title=>$link)
|
||||
|
||||
@@ -97,7 +97,7 @@ else
|
||||
export DEPLOY_FILEVER_TAG="${VERSION_NUMBER}_nightly${NEXT_NIGHTLY_VER}"
|
||||
export DEPLOY_RELEASE_TO_REMOVE=$LAST_NIGHTLY_TAG
|
||||
export DEPLOY_TAG_NAME=$NEXT_NIGHTLY_TAG
|
||||
export DEPLOY_VERSION_NAME="version $LAST_STABLE_VER nightly $NEXT_NIGHTLY_VER"
|
||||
export DEPLOY_VERSION_NAME="(PREVIEW) version $LAST_STABLE_VER nightly $NEXT_NIGHTLY_VER"
|
||||
export DEPLOY_DESCRIPTION=`php ./travis/format_release_info.php -filever $DEPLOY_FILEVER_TAG Unreleased $DEPLOY_TAG_NAME ./CHANGELOG.md "$TRAVIS_REPO_SLUG"`
|
||||
export DEPLOY_COMMITISH="dev"
|
||||
export DEPLOY_PRERELEASE=true
|
||||
|
||||
Reference in New Issue
Block a user