Closed Jj0YzL5nvJ closed 2 years ago
Thanks, that looks helpful. I was already trying to figure out the basics of Github Actions, this will save me a lot of work!
The nightly-build
tag is auto-generated, don't push said tag to github or you will duplicate the workflow unnecessarily. It's better to delete it from your local repository and never sync with it.
The pipeline for Linux build exited with an error without the tag, though. It started to work fine after adding and pushing it manually.
Yeah... I theorized that error and wrote the logic so that the error didn't occur in batch
but I forgot that bash
would capture an error code with such logic.
This implementation has a small detail... it will be necessary to delete the
nightly-build
tag from the local repository as part of the build process to generate the correct version number.Check out my
nightly-build
for reference. I needed to deletenightly-build
andv1.6-1
to generate the correct version number before the build process.