Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Installer/package.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ component Misc
textfile "private:License Agreement.txt"
textfile "private:about.txt"
textfile "ide:Open Source Licenses.txt"
file "ide:Release Notes.pdf"
file "repo:LiveCodeNotes-[[EscapedVersionTag]].pdf" as "Release Notes.pdf"

component Plugins
into [[ToolsFolder]]/Plugins place
Expand Down
5 changes: 5 additions & 0 deletions builder/tools_builder.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ private command toolsBuilderMakePackage pVersion, pEdition, pPlatform, pEngineFo
put "Commercial" into tBaseEditionType
break
end switch

-- Escape the version (by replacing all non-alphanumeric characters with "_")
local tVersionEscaped
put replaceText(pVersion,"\W","_") into tVersionEscaped

-- Compute the package temp folder
local tTempFolder
Expand Down Expand Up @@ -137,6 +141,7 @@ private command toolsBuilderMakePackage pVersion, pEdition, pPlatform, pEngineFo
end if
packageCompilerConfigureVariable tPackager, "TodaysDate", "[[todaysDate]]"
packageCompilerConfigureVariable tPackager, "VersionTag", pVersion
packageCompilerConfigureVariable tPackager, "EscapedVersionTag", tVersionEscaped
packageCompilerConfigureVariable tPackager, "ProductBranch", char 1 to 3 of pVersion
packageCompilerConfigureVariable tPackager, "TargetArchitectures", "i386"
if pPlatform is "linux-x86" then
Expand Down
1 change: 1 addition & 0 deletions docs/notes/bugfix-16696.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Include the correct version's release notes in the installer