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

(fix): Update git-version.sh script #3993

Merged
merged 1 commit into from
Jul 5, 2024
Merged

(fix): Update git-version.sh script #3993

merged 1 commit into from
Jul 5, 2024

Conversation

amckinney
Copy link
Contributor

This updates the git-version.sh script so that it doesn't include any CircleCI-specific information (which is no longer relevant). Now that we rely on the tags to be available in the Git repository, this updates the checkout action so that the tags are readily available for the script.

Without this, the publish job will fail (e.g. this job) because the git-version.sh script resolves an invalid version (based on a short commit SHA).

Note that the fetch-depth + fetch-tags solution is referenced from this open issue.

@amckinney amckinney requested a review from dsinghvi as a code owner July 5, 2024 19:44
@amckinney amckinney merged commit 8620c2c into main Jul 5, 2024
20 of 21 checks passed
@amckinney amckinney deleted the amckinney/ci/tags branch July 5, 2024 19:48
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.

2 participants