dokuwiki-plugin-move
dokuwiki-plugin-move copied to clipboard
Add missing tags (and Github releases)
I noticed that there are only 3 tags in the repo, while quite a few more versions were released according to git log.
Please find below a quick bash script to create the missing tags for the move plugin
# Loop over all commits where plugin info was changed
git log --format="%H|%ai" -- plugin.info.txt |
while IFS='|' read SHA GIT_COMMITER_DATE;
do
# Retrieve release date from the commit's plugin.info.txt
RELEASE_DATE=$(git show $SHA:plugin.info.txt |sed -n 's/^date *//p');
# Skip commit if tag already exists
[ $(git tag -l $RELEASE_DATE) ] && continue;
git tag -a -m "Release $RELEASE_DATE" $RELEASE_DATE $SHA
done;
An alternative would be my script to automatically create new releases when stuff changes in master: https://www.patreon.com/posts/managing-plugin-8389933
@michitux can you create a new release? It seems the plugin's page doesn't show the current release either.
Would be cool if we could roll back on problems without having to resort to a git checkout to the corresponding commit :/
I have added the missing tags and there are now GitHub releases for the most recent tags. I didn't bother to create GitHub releases for all tags. Also, I installed a workflow to automatically tag any future releases.