-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add workflow to generate file containing release information for applets #4314
base: master
Are you sure you want to change the base?
Conversation
git config user.name "NikoKrause" | ||
git config user.email "[email protected]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this have one user's credentials hard-coded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's been a long time, but I think I copied it from the workflow to generate the translation tables.
I'm not sure what I should be using, if it were on me I would use a generic CI account
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to take a shot at adding some workflows in a few weeks that will work on a similar basis. Let's see what we can come up with that is a cleaner design.
Description
These scripts will create/update the
releases.json
inside.releases
folder on every commit to master.Documents every change for every currently released applet in json format, including:
svn checkout -r{hash} https://github.com/linuxmint/cinnamon-spices-applets/{appletname}/files/
, but it might be slow)It also appends a
-{revision}
to a released version if the version number was not changed but the code was to reliably track versions.Reasoning
@NikoKrause if you think this is not useful for you guys in any way then I can keep this code elsewhere and close this, otherwise please review.
Gotchas
release_generator
might produce a race condition with each other if not run sequentially (this is untested). As said it is currently not used in this way.Example output (part of)