Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure we fetch tags before building a module #420

Merged
merged 2 commits into from
May 19, 2023
Merged

Conversation

olehermanse
Copy link
Member

Some modules, notably masterfiles, rely on git to determine version numbers.

Some modules, notably masterfiles, rely on git to determine version numbers.
@nickanderson
Copy link
Member

Fire it up

@olehermanse
Copy link
Member Author

Trying to fetch tags, as others have before me:

pagopa/io-sign#137
actions/checkout#701

Copy link
Member

@nickanderson nickanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, after reading the linked comments, fetch-depth 0 makes it remove the --no-tags option.

@nickanderson nickanderson merged commit c169b49 into master May 19, 2023
4 checks passed
olehermanse added a commit to cfengine/masterfiles that referenced this pull request May 19, 2023
There were a couple of problems related to version numbers
inside the masterfiles build module. For this time, we
have to do a more custom / hardcoded approach.

See:
cfengine/build-index#421
cfengine/build-index#420
aceb20a

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
@olehermanse olehermanse deleted the fetch-tags branch March 4, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants