From c1113d61d63aa708209f1e3d9b3e0c0fb224606b Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Tue, 2 Jul 2019 07:33:30 -0500 Subject: [PATCH] Make installer correctly versioned. --- appveyor.yml | 2 +- janet-installer.nsi | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index adeb8ea4..fdb40f2a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,7 +33,7 @@ only_commits: artifacts: - path: janet-installer.exe - name: janet-windows-installer.exe + name: janet-v1.0.0-windows-installer.exe type: File deploy: diff --git a/janet-installer.nsi b/janet-installer.nsi index 5e1b5382..517f18b4 100644 --- a/janet-installer.nsi +++ b/janet-installer.nsi @@ -130,9 +130,7 @@ section "Janet" BfWSection WriteRegStr SHCTX "${UNINST_KEY}" "HelpLink" "${HELPURL}" WriteRegStr SHCTX "${UNINST_KEY}" "URLUpdateInfo" "${HELPURL}" WriteRegStr SHCTX "${UNINST_KEY}" "URLInfoAbout" "${HELPURL}" - WriteRegStr SHCTX "${UNINST_KEY}" "DisplayVersion" "0.6.0" - WriteRegDWORD SHCTX "${UNINST_KEY}" "VersionMajor" 0 - WriteRegDWORD SHCTX "${UNINST_KEY}" "VersionMinor" 6 + WriteRegStr SHCTX "${UNINST_KEY}" "DisplayVersion" "${VERSION}" WriteRegDWORD SHCTX "${UNINST_KEY}" "NoModify" 1 WriteRegDWORD SHCTX "${UNINST_KEY}" "NoRepair" 1 WriteRegDWORD SHCTX "${UNINST_KEY}" "EstimatedSize" 1000