ni / nisystemlink-clients-python

Python API for interacting with a SystemLink Server, created and supported by NI.
https://ni.com/systemlink
MIT License
10 stars 20 forks source link

chore: Fetch all history during checkout #29

Closed cameronwaterman closed 2 years ago

cameronwaterman commented 2 years ago

What does this Pull Request accomplish?

Fetches all history during checkout. The default behavior of the checkout action only checks out the most recent commit which makes it so the semantic-version tool is unable to determine the latest released version from the commit history.

This wasn't caught in my previous PR because all history is synced locally so local testing succeeded.

Why should this Pull Request be merged?

Fixes semantic-version releases.

What testing has been done?

Commented out conditional that stops semantic-release step from running and verified it was now able to retrieve the latest released version. See build here: https://github.com/ni/nisystemlink-clients-python/actions/runs/3475812670/jobs/5810432619