<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Sat, Feb 25, 2023 at 9:02 AM Jeremy Hansen <<a href="mailto:jebrhansen%2BSBo@gmail.com">jebrhansen+SBo@gmail.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 25, 2023, 6:23 AM Petar Petrov <<a href="mailto:slackalaxy@gmail.com" rel="noreferrer noreferrer" target="_blank">slackalaxy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I do not intend to sound nagging, but why not implement such a feature<br>
in order to make maintainers' job easier?<br>
<br>
-petar<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I can't speak on whether or not it's worth adjusting everything to support variables in there, but if it's just a simple version bump and the version is the only thing that needs to be changed in the url(s), you can use a script to update the versions pretty easily.</div><div dir="auto"><br></div><div dir="auto">I made my own script that will update all instances of the version number in the .info and .SlackBuild, reset the build number, download the source(s), calculate the md5 for those sources and update that field in the .info, and check the copyright year in the SlackBuild.</div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/bassmadrigal/scripts/blob/master/version-bump.sh" rel="noreferrer" target="_blank">https://github.com/bassmadrigal/scripts/blob/master/version-bump.sh</a><br></div><div dir="auto"><br></div><div dir="auto">It doesn't work for every script, but should work for most. Most of the time, it's a very quick way to update everything and not miss the little things (like resetting the build number). Occasionally, I'll still need to manually adjust the download link and calculate my own md5, but over the years I've been using this, it makes updating most of my SlackBuilds breezes. It's definitely made my job easier.</div><div dir="auto"><br></div><div dir="auto">Jeremy</div></div></blockquote><div><br></div><div class="gmail_default" style="font-family:monospace,monospace">Nice Script Jeremy.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">It's a keeper.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I will use it to update my <a href="http://x.info">x.info</a> and x.SlackBuild next time.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Thanks</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">-- kjh<br></div></div></div>