Hamish Coleman
8dc9437870
Remove configure.ac from the distclean list
3 years ago
Hamish Coleman
c0cfe93726
How many commits to fetch? Github says 'meh'
The right number of commits to fetch is enough to be able to create
a `git describe` result - basically back until the most recent parent
annotated tag.
However, the github action/checkout@v2 only allows a simple number,
which is basically the answer to "how long is a piece of string"
3 years ago
Hamish Coleman
6c3ccadde1
Try to make debug workflow demand triggerable
The docs claim that by adding the right `on:` event, the job can be
manually triggered from the github UI.
https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#workflow_dispatch
Tests show that it doesnt work, but I can leave it here for reference.
3 years ago
Hamish Coleman
dfc1c85bce
Get the repo history
3 years ago
Hamish Coleman
d22f74bf69
Add a build job to dump details about the repository
3 years ago
Hamish Coleman
142f23bd50
Apply tags fix from https://github.com/actions/checkout/issues/290 to all checkouts
3 years ago
Hamish Coleman
06cc8ae64b
Apply tags fix from https://github.com/actions/checkout/issues/290
3 years ago
Hamish Coleman
e538e55ed7
The cmake github action is clearly not just for linux
3 years ago
Hamish Coleman
5b06254a8b
Remove unused makefile variable
3 years ago
Hamish Coleman
aafca3813a
Use script to calculate the build version
3 years ago
Hamish Coleman
d57ac3c6a1
Clearly separate documented scripts into user and build categories
3 years ago
Hamish Coleman
0d04b40926
Make distclean more clean
3 years ago
Hamish Coleman
00a2bdc307
Remove all use of N2N_VERSION_SHORT in favor of PACKAGE_VERSION
3 years ago
Hamish Coleman
4575154e1b
Shrink autogen by reading VERSION file directly in configure.ac
3 years ago
Hamish Coleman
a9216f1097
Remove GIT_RELEASE variable and use the semantically identical N2N_VERSION instead
3 years ago
Hamish Coleman
430b0cb77d
Fix CMakeFile version number embedded NL
3 years ago
Hamish Coleman
ff88803f6d
Use one common file for the version number in both build systems
3 years ago
Logan oos Even
81bd79a82a
assured correct supernode MAC address properties ( #888 )
3 years ago
Logan oos Even
e0a9bb95fc
differentiated between 'active' and 'standby' in sn-selection-by-mac mode ( #887 )
3 years ago
Logan oos Even
3d0c618d99
updated Federation.md
3 years ago
Logan oos Even
89571292f4
allowed supernode MAC address to be set manually (-m) ( #886 )
3 years ago
Logan oos Even
f4e7e513a8
added MAC address based supernode selection ( #885 )
3 years ago
Hamish Coleman
03ce1e2b84
Merge pull request #883 from hamishcoleman/release
Only trigger automatic release process on annotated tags - Take two
3 years ago
Hamish Coleman
9f7ea89229
Remove debugging outputs
3 years ago
Hamish Coleman
5055259171
Output correct debug data...
3 years ago
Hamish Coleman
02f341df87
Add a debugging job to show the get tagtype data quicker in the workflow
3 years ago
Hamish Coleman
3c3a848dc2
Re-add much of the debug output
3 years ago
Hamish Coleman
5b5fe587ae
Attempt to fix github tags in each job
See https://github.com/actions/checkout/issues/290 for some discussion.
3 years ago
Hamish Coleman
f2f49111b7
Add reference to a ticket for this problem
3 years ago
Hamish Coleman
88bd8e566f
Fix clone command, removing the half removed old fetch-based command
3 years ago
Hamish Coleman
d8fa2ef9da
Return the tags check to the releases, use our own clone and remove all the debug output
3 years ago
Hamish Coleman
11512fe1c8
Fix spelling
3 years ago
Hamish Coleman
a4f5b18308
Of course, nobody has a standard git repo layout, so need to jump more hoops
3 years ago
Hamish Coleman
d9d524a8d8
Add more debug data output
3 years ago
Hamish Coleman
e709997b3c
Abandon using the github checkout action, it is clearly at fault
3 years ago
Hamish Coleman
23ef8e4bfe
Adjust pull command to pull.rebase=false
3 years ago
Hamish Coleman
3e2be20614
Try returning to the 'normal' command, after force pulling the correct repo data
3 years ago
Hamish Coleman
6395aa4fbc
Getting closer, it clearly showed the upstream had a different view than this checkout
3 years ago
Hamish Coleman
71021abd97
Try a different way to fetch the right tag data
3 years ago
Hamish Coleman
9b081805f5
Add more tag debugging output
3 years ago
Hamish Coleman
55c063513d
Shorten line to address yamllint warning
3 years ago
Hamish Coleman
1adbdc9a00
Avoid exitcode triggering job failure
3 years ago
Hamish Coleman
e63b0f3c53
Attempt to work around strage git behaviour in github
3 years ago
Hamish Coleman
3371a50d5a
Add more debug data, still trying to work out why github doesnt think tags are tags
3 years ago
Hamish Coleman
0a24c40e25
Tags dont work properly with a thin clone
3 years ago
Hamish Coleman
e5b373dd10
With the better release gating, we dont need to check if the job can run (also allows more debug info output)
3 years ago
Hamish Coleman
5538a55090
Add some debug info to the release automation
3 years ago
Hamish Coleman
78889f8d98
Fix - if we want to run git commands, we need a git repo clone
3 years ago
Hamish Coleman
0929185d04
Fix tagtype logic, shell quotes need to be correct for shell vars
3 years ago
Logan oos Even
ecff46a043
applied tiny optimization to PACKET's code path ( #882 )
3 years ago