On Sat, Feb 25, 2023 at 9:02 AM Jeremy Hansen <[email protected]> wrote:
> On Sat, Feb 25, 2023, 6:23 AM Petar Petrov <[email protected]> wrote: > >> I do not intend to sound nagging, but why not implement such a feature >> in order to make maintainers' job easier? >> >> -petar >> > > 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. > > 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. > > https://github.com/bassmadrigal/scripts/blob/master/version-bump.sh > > 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. > > Jeremy > Nice Script Jeremy. It's a keeper. I will use it to update my x.info and x.SlackBuild next time. Thanks -- kjh
_______________________________________________ SlackBuilds-users mailing list [email protected] https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
