n2n/.github/workflows
Hamish Coleman 8d4b771d87
Only trigger automatic release process on annotated tags - Take two (#884)
* Fix tagtype logic, shell quotes need to be correct for shell vars

* Fix - if we want to run git commands, we need a git repo clone

* Add some debug info to the release automation

* With the better release gating, we dont need to check if the job can run (also allows more debug info output)

* Tags dont work properly with a thin clone

* Add more debug data, still trying to work out why github doesnt think tags are tags

* Attempt to work around strage git behaviour in github

* Avoid exitcode triggering job failure

* Shorten line to address yamllint warning

* Add more tag debugging output

* Try a different way to fetch the right tag data

* Getting closer, it clearly showed the upstream had a different view than this checkout

* Try returning to the 'normal' command, after force pulling the correct repo data

* Adjust pull command to pull.rebase=false

* Abandon using the github checkout action, it is clearly at fault

* Add more debug data output

* Of course, nobody has a standard git repo layout, so need to jump more hoops

* Fix spelling

* Return the tags check to the releases, use our own clone and remove all the debug output

* Fix clone command, removing the half removed old fetch-based command

* Add reference to a ticket for this problem

* Attempt to fix github tags in each job

See https://github.com/actions/checkout/issues/290 for some discussion.

* Re-add much of the debug output

* Add a debugging job to show the get tagtype data quicker in the workflow

* Output correct debug data...

* Remove debugging outputs
2021-10-31 20:45:09 +00:00
..
cmake-linux.yml handled all remaining lint warnings (#875) 2021-10-25 16:30:34 +05:45
tests.yml Only trigger automatic release process on annotated tags - Take two (#884) 2021-10-31 20:45:09 +00:00