v2 is back! I don't know why it disappeared in the first place, but I took the strange opportunity to rewrite a large chunk of it and make it work better than before.
Please note that I renamed many variables in v2 to make their function more clear. I also made a wiki to go over some of the tricky setup details, so please check that out.
Improved - Build/release pattern
In v1, the action performed all of its steps on the source branch of a project. Each update, build, and push to the source branch added garbage commits to the history of what could have been a working branch for some people. Now the action builds releases on a separate branch to help clean that up.
New - TEST MODE
Test mode runs a separate set of scripts (instead of the normal action) and verifies that your setup is correct. If you use test mode you're likely to spot most problems with your action config before you run it for real.
Fixed - Git config
Previously, git config was always set by this action. Now it occurs only when the git config values haven't already been set by other workflow steps. This is to allow work with other actions and avoid setting conflicting config values. Bonus: Now you can do neat things like setting up GPG commit signing with other actions like this -- https://github.com/aormsby/Fork-Sync-With-Upstream-action/wiki/GPG-Signing (link is from another one of my actions, but you'll get the idea)
Known Issue - Can't use shallow clones
Trying to get proper merges when using shallow clones has been a huge problem. Gotta checkout with fetch-depth: '0'
for this action to work properly. See Git Shallow Clone Challenge! for details, and help me figure out what to do about this!