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 version for forked repo #468

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Fix version for forked repo #468

merged 1 commit into from
Sep 18, 2023

Conversation

dhurley
Copy link
Collaborator

@dhurley dhurley commented Sep 6, 2023

Proposed changes

If someone forks just the main branch of the repo, they wont have any tags in their forked repo.
To fix this we should query the github api to get the latest tag. That way when someone builds a package it will have a valid version number instead of it being blank.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@netlify
Copy link

netlify bot commented Sep 6, 2023

Deploy Preview for agent-public-docs canceled.

Name Link
🔨 Latest commit 3258ddf
🔍 Latest deploy log https://app.netlify.com/sites/agent-public-docs/deploys/64f8a8554ea21300088e334a

@github-actions github-actions bot added the bug Something isn't working label Sep 6, 2023
@dhurley dhurley merged commit 3013b97 into main Sep 18, 2023
29 checks passed
@dhurley dhurley deleted the fix-version-for-forked-repo branch September 18, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants