Compare commits

..

No commits in common. "c535d48039b5c746dd0977a1d4042dfda8f0cc07" and "fcd6b71cb6969697a661cac6e117c0f53248697f" have entirely different histories.

7 changed files with 239 additions and 578 deletions

View file

@ -1,36 +1,5 @@
# Changelog
## v0.1.8 (19 Feb 2022)
**New**
* There is now a [user manual](https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_Sidebar) for LogarithmPlotter! Contributions apprecriated.
**Changes**
* A link to [LogarithmPlotter's official website](https://apps.ad5001.eu/logarithmplotter/) has been added in the about dialog.
* A link to the [user manual](https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_Sidebar) has been added both on the greeting screen and the `Help` menu.
**Added translations**
* User manual.
* Official website.
**Fixed bugs**
* The label position of X Cursors now display the label even when unexpected values are entered.
* X Cursors target object in history are now properly rendered when no object were selected
* Fixed slight clipping at the bottom of the border.
* TextInput no longer allow to input forbidden characters for numbers.
* ALT+ shortcuts on the menu bar now work. NOTE: May break some mobile configuration. [Qt bug report](https://bugreports.qt.io/browse/QTBUG-100539)
* (flatpak) Buttons on side menu to create object now have proper width on startup.
**Internal changes**
* There is now a script to generate offline versions of the manual based on their online version.
* Sidebar button width is now fixed.
* Artifacts have been added to appstream metadata.
## v0.1.7 (03 Feb 2022)
**New**

View file

@ -18,7 +18,7 @@
from shutil import which
__VERSION__ = "0.1.8"
is_release = True
is_release = False
# Check if development version, if so get the date of the latest git patch

View file

@ -1,23 +1,3 @@
logarithmplotter (0.1.8) stable; urgency=medium
* New: There is now a user manual for LogarithmPlotter! Contributions apprecriated.
* Changed: A link to LogarithmPlotter's official website (https://apps.ad5001.eu/logarithmplotter/) has been added in the about dialog.
* Changed: A link to the user manual has been added both on the greeting screen and the `Help` menu.
* Added translation: User manual.
* Added translation: Official website.
* Added translation: Filtering for history browser.
* Fixed bug: The label position of X Cursors now display the label even when unexpected values are entered.
* Fixed bug: X Cursors target object in history are now properly rendered when no object were selected
* Fixed bug: Fixed slight clipping at the bottom of the border.
* Fixed bug: TextInput no longer allow to input forbidden characters for numbers.
* Fixed bug: ALT+ shortcuts on the menu bar now work. NOTE: May break some mobile configuration. Qt bug report: https://bugreports.qt.io/browse/QTBUG-100539
* Fixed bug (flatpak): Buttons on side menu to create object now have proper width on startup.
* Internal changes: There is now a script to generate offline versions of the manual based on their online version.
* Internal changes: Sidebar button width is now fixed.
* Internal changes: Artifacts have been added to appstream metadata.
-- Ad5001 <mail@ad5001.eu> Sat, 19 Jan 2022 20:00:00 +0100
logarithmplotter (0.1.7) stable; urgency=medium
* New: The history browser has been completly redesigned, improving UX.
@ -46,6 +26,7 @@ logarithmplotter (0.1.7) stable; urgency=medium
* Internal changes: Trying to switch metainfo once more to try and fix another bug.
* Internal changes: Keywords added to metainfo.
-- Ad5001 <mail@ad5001.eu> Thu, 03 Jan 2022 00:00:00 +0100
logarithmplotter (0.1.6) stable; urgency=medium

View file

@ -115,53 +115,7 @@
</requires>
<releases>
<release version="0.1.8" date="2022-02-19">
<description>
<p><b>Changes for v0.1.8:</b></p>
<p>New</p>
<ul>
<li>There is now a user manual for LogarithmPlotter! Contributions apprecriated.</li>
</ul>
<p>Changes</p>
<ul>
<li>A link to LogarithmPlotter's official website has been added in the about dialog.</li>
<li>A link to the user manual has been added both on the greeting screen and the `Help` menu.</li>
</ul>
<p>Added translations</p>
<ul>
<li>User manual.</li>
<li>Official website.</li>
</ul>
<p>Fixed bugs</p>
<ul>
<li>The label position of X Cursors now display the label even when unexpected values are entered.</li>
<li>X Cursors target object in history are now properly rendered when no object were selected</li>
<li>Fixed slight clipping at the bottom of the border.</li>
<li>TextInput no longer allow to input forbidden characters for numbers.</li>
<li>ALT+ shortcuts on the menu bar now work. NOTE: May break some mobile configuration. Qt bug report</li>
<li>(flatpak) Buttons on side menu to create object now have proper width on startup.</li>
</ul>
<p>Internal changes</p>
<ul>
<li>There is now a script to generate offline versions of the manual based on their online version.</li>
<li>Sidebar button width is now fixed.</li>
<li>Artifacts have been added to appstream metadata.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-v0.1.8-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-v0.1.8-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-0.1.8.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.7" date="2022-02-03">
<description>
<p><b>Changes for v0.1.7:</b></p>
<p>New</p>
<ul>
@ -175,7 +129,7 @@
<li>Usage of gradiants and icons to better identify history entries at a glance.</li>
<li>History entries are now showing the whole label on several lines, instead of cutting it at the end.</li>
<li>New history action for renaming.</li>
<li>New history action for coloring. Note: color changing history entries created in previous versions of LogarithmPlotter will not be updated.</li>
<li>New history action for coloring. Note: color changing history items created in previous versions of LogarithmPlotter will not be updated to the new action.</li>
<li>Tooltips for object creation buttons have been added.</li>
<li>Tooltips have been set to have a delay of 200ms to match most software's handling of them.</li>
<li>Object creation buttons now have a unified style accross all platforms.</li>
@ -188,7 +142,7 @@
</ul>
<p>Fixed bugs</p>
<ul>
<li>Visibility history actions (shown and hidden) are now properly savedmaking loading them not automaticly changed to "Show".</li>
<li>Visibility history actions (shown and hidden) are now properly saved, solving the issue that when loading file with one, it's not automaticly changed to "Show".</li>
<li>Name changes history actions are now properly saved.</li>
<li>Non translated object type on the "+ Create new object" item selection combobox for Bode Magnitude and Phase.</li>
<li>Proper handling for future LogarithmPlotter files.</li>
@ -203,21 +157,8 @@
<li>Trying to switch metainfo once more to try and fix another bug.</li>
<li>Keywords added to metainfo.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-v0.1.7-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-v0.1.7-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-0.1.7.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.6" date="2022-01-29">
<description>
<p><b>Changes for v0.1.6:</b></p>
<p>New</p>
<ul>
@ -244,21 +185,8 @@
<li>Other: Scripts have been moved to it's own directory.</li>
<li>Other: Added changelog to metainfo for flathub.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-v0.1.6-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-v0.1.6-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/LogarithmPlotter-v0.1.6.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.5" date="2022-01-26">
<description>
<p><b>Changes for v0.1.5:</b></p>
<p>New</p>
<ul>
@ -274,21 +202,8 @@
<li>(!) Debian packages does include any language file.</li>
<li>X Cursor pointing does not detect any object.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-v0.1.5-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-v0.1.5-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/LogarithmPlotter-v0.1.5.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.4" date="2022-01-24">
<description>
<p><b>Changes for v0.1.4:</b></p>
<p>New</p>
<ul>
@ -305,42 +220,16 @@
<li>Fixed bug: No notification when closing LogarithmPlotter with unsaved changes.</li>
<li>Fixed bug: π unavailable in symbols.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-v0.1.4-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-v0.1.4-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/LogarithmPlotter-v0.1.4.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.3" date="2022-01-18">
<description>
<p><b>Changes for v0.1.3:</b></p>
<p>Fixed bugs</p>
<ul>
<li>Sandboxed packages (snapcraft and flatpak) won't show error messages related to update checks.</li>
<li>Confined packages (snapcraft &amp; flatpak) won't show error messages related to update checks.</li>
<li>Equations of the form (x + y) / z were not being simplified properly.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-v0.1.3-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-v0.1.3-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/LogarithmPlotter-v0.1.3.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.2" date="2021-09-30">
<description>
<p><b>Changes for v0.1.2:</b></p>
<p>Fixed bugs</p>
<ul>
@ -350,18 +239,6 @@
<li>Bode Magnitude had undefined ending.</li>
<li>Other bugs patched in v0.1.1.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-v0.1.2-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-v0.1.2-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/LogarithmPlotter-v0.1.2.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1" date="2021-08-26">
<p><b>Changes for v0.1:</b></p>

View file

@ -115,53 +115,7 @@
</requires>
<releases>
<release version="0.1.8" date="2022-02-19">
<description>
<p><b>Changes for v0.1.8:</b></p>
<p>New</p>
<ul>
<li>There is now a user manual for LogarithmPlotter! Contributions apprecriated.</li>
</ul>
<p>Changes</p>
<ul>
<li>A link to LogarithmPlotter's official website has been added in the about dialog.</li>
<li>A link to the user manual has been added both on the greeting screen and the `Help` menu.</li>
</ul>
<p>Added translations</p>
<ul>
<li>User manual.</li>
<li>Official website.</li>
</ul>
<p>Fixed bugs</p>
<ul>
<li>The label position of X Cursors now display the label even when unexpected values are entered.</li>
<li>X Cursors target object in history are now properly rendered when no object were selected</li>
<li>Fixed slight clipping at the bottom of the border.</li>
<li>TextInput no longer allow to input forbidden characters for numbers.</li>
<li>ALT+ shortcuts on the menu bar now work. NOTE: May break some mobile configuration. Qt bug report</li>
<li>(flatpak) Buttons on side menu to create object now have proper width on startup.</li>
</ul>
<p>Internal changes</p>
<ul>
<li>There is now a script to generate offline versions of the manual based on their online version.</li>
<li>Sidebar button width is now fixed.</li>
<li>Artifacts have been added to appstream metadata.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-v0.1.8-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-v0.1.8-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-0.1.8.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.7" date="2022-02-03">
<description>
<p><b>Changes for v0.1.7:</b></p>
<p>New</p>
<ul>
@ -175,7 +129,7 @@
<li>Usage of gradiants and icons to better identify history entries at a glance.</li>
<li>History entries are now showing the whole label on several lines, instead of cutting it at the end.</li>
<li>New history action for renaming.</li>
<li>New history action for coloring. Note: color changing history entries created in previous versions of LogarithmPlotter will not be updated.</li>
<li>New history action for coloring. Note: color changing history items created in previous versions of LogarithmPlotter will not be updated to the new action.</li>
<li>Tooltips for object creation buttons have been added.</li>
<li>Tooltips have been set to have a delay of 200ms to match most software's handling of them.</li>
<li>Object creation buttons now have a unified style accross all platforms.</li>
@ -188,7 +142,7 @@
</ul>
<p>Fixed bugs</p>
<ul>
<li>Visibility history actions (shown and hidden) are now properly savedmaking loading them not automaticly changed to "Show".</li>
<li>Visibility history actions (shown and hidden) are now properly saved, solving the issue that when loading file with one, it's not automaticly changed to "Show".</li>
<li>Name changes history actions are now properly saved.</li>
<li>Non translated object type on the "+ Create new object" item selection combobox for Bode Magnitude and Phase.</li>
<li>Proper handling for future LogarithmPlotter files.</li>
@ -203,21 +157,8 @@
<li>Trying to switch metainfo once more to try and fix another bug.</li>
<li>Keywords added to metainfo.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-v0.1.7-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-v0.1.7-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-0.1.7.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.6" date="2022-01-29">
<description>
<p><b>Changes for v0.1.6:</b></p>
<p>New</p>
<ul>
@ -244,21 +185,8 @@
<li>Other: Scripts have been moved to it's own directory.</li>
<li>Other: Added changelog to metainfo for flathub.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-v0.1.6-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-v0.1.6-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/LogarithmPlotter-v0.1.6.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.5" date="2022-01-26">
<description>
<p><b>Changes for v0.1.5:</b></p>
<p>New</p>
<ul>
@ -274,21 +202,8 @@
<li>(!) Debian packages does include any language file.</li>
<li>X Cursor pointing does not detect any object.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-v0.1.5-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-v0.1.5-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/LogarithmPlotter-v0.1.5.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.4" date="2022-01-24">
<description>
<p><b>Changes for v0.1.4:</b></p>
<p>New</p>
<ul>
@ -305,42 +220,16 @@
<li>Fixed bug: No notification when closing LogarithmPlotter with unsaved changes.</li>
<li>Fixed bug: π unavailable in symbols.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-v0.1.4-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-v0.1.4-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/LogarithmPlotter-v0.1.4.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.3" date="2022-01-18">
<description>
<p><b>Changes for v0.1.3:</b></p>
<p>Fixed bugs</p>
<ul>
<li>Sandboxed packages (snapcraft and flatpak) won't show error messages related to update checks.</li>
<li>Confined packages (snapcraft &amp; flatpak) won't show error messages related to update checks.</li>
<li>Equations of the form (x + y) / z were not being simplified properly.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-v0.1.3-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-v0.1.3-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/LogarithmPlotter-v0.1.3.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1.2" date="2021-09-30">
<description>
<p><b>Changes for v0.1.2:</b></p>
<p>Fixed bugs</p>
<ul>
@ -350,18 +239,6 @@
<li>Bode Magnitude had undefined ending.</li>
<li>Other bugs patched in v0.1.1.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-v0.1.2-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-v0.1.2-setup.exe</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/LogarithmPlotter-v0.1.2.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.1" date="2021-08-26">
<p><b>Changes for v0.1:</b></p>

View file

@ -1,33 +1,18 @@
cat ../CHANGELOG.md | gawk '
cat ../CHANGELOG.md | awk '
BEGIN {
listBegan=0
latest=1
version=0
}
/^\s*##/ {
if(!latest) {
listBegan=0
print " </ul>"
print " </description>"
print " <artifacts>"
print " <artifact type=\"binary\" platform=\"x86_64-windows-any\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>"
print " </artifact>"
print " <artifact type=\"binary\" platform=\"x86_64-macos-any\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>"
print " </artifact>"
print " <artifact type=\"source\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-"version".tar.gz</location>"
print " </artifact>"
print " </artifacts>"
print " </release>"
}
latest=0
cmd ="date \"+%Y-%m-%d\" -d \""substr($3,2,2)" "$4" "substr($5,0,4)"\""
cmd | getline date
version = substr($2,2,5)
print " <release version=\""version"\" date=\""date"\">"
print " <description>"
print " <release version=\""substr($2,2,5)"\" date=\""date"\">"
print " <p><b>Changes for "$2":</b></p>"
}
/^\s*\*\*/ {
@ -45,42 +30,15 @@ BEGIN {
print " <ul>"
}
s = ""; for (i = 2; i <= NF; i++) s = s " " $i;
text = substr(s,2)
# Removing links
text = gensub(/\[([^\]]+)\]\(([^\)]+)\)/, "\\1", "g", text);
print " <li>"text"</li>"
print " <li>"substr(s,2)"</li>"
}
/^\s*--/ {
listBegan=0
print " </ul>"
print " </description>"
print " <artifacts>"
print " <artifact type=\"binary\" platform=\"x86_64-windows-any\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>"
print " </artifact>"
print " <artifact type=\"binary\" platform=\"x86_64-macos-any\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>"
print " </artifact>"
print " <artifact type=\"source\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-"version".tar.gz</location>"
print " </artifact>"
print " </artifacts>"
print " </release>"
}
END {
print " </ul>"
print " </description>"
print " <artifacts>"
print " <artifact type=\"binary\" platform=\"x86_64-windows-any\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>"
print " </artifact>"
print " <artifact type=\"binary\" platform=\"x86_64-macos-any\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>"
print " </artifact>"
print " <artifact type=\"source\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-"version".tar.gz</location>"
print " </artifact>"
print " </artifacts>"
print " </release>"
}'