Automate new releases and asciinema Gifs #345
Labels
docs
Documenting Git Gud and its code
good first issue
Good for newcomers
help wanted
Extra attention is needed
The automated demo on the README is difficult to test right now - we can only tell if there's an error when we try to push a new version, but if there's an error and we push a fix to
previewgif.sh
, if the fix forpreviewgif.sh
is on an untagged commit, then GitHub Actions won't even try to generate the automated demo. This is a hassle, and the way to fix this would be to update the CI workflow that triggers when we want to create a new release.This is what the workflow would look like:
Here's the skeleton of the GitHub Action that's triggered:
version.txt
isn't an actual versionThis is a rough skeleton - there may be some intermediate steps but this is the main gist of it.
There's probably a way to leveraging existing workflows and conditionally running them using the GitHub Action parameter
workflow_run
.Lastly, I made a StackOverflow post when I first had to create this automated GIF: https://stackoverflow.com/questions/53969566/how-can-i-use-scripting-automation-to-record-asciinema-recordings. This could be helpful if you're tackling this issue. I also discovered a program
terminalizer
much later that might be worth looking into.The text was updated successfully, but these errors were encountered: