-
Notifications
You must be signed in to change notification settings - Fork 166
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
Added workflow to update current-version-tag in readme.md #1080
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only other comment is validation prior to merge to main
... maybe change the workflow .yml file to your fork's branch for the time being and just validate
I am having issues with validating. I changed the .yml to my branch but I am getting an error Quick googling leads me to believe that this usually means no tags are found. I am a bit confused about how tags work to understand why this is happening. I read that this might have something to do with the git clone being shallow. Possible solution could be to add this to the .yml file before the git describe --tags line.
I have no idea what that means. Please advise |
|
I updated the .yml file to fix the issue I mentioned earlier. And it passed the validation; the github Please review. (Sorry for so many commits I was testing on my branch) |
README.md
Outdated
@@ -418,7 +418,7 @@ json_data = Data('https://github.com/capitalone/DataProfiler/blob/main/dataprofi | |||
``` | |||
|
|||
If the file type is not automatically identified (rare), you can specify them | |||
specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs/<workflow_to_replace_with_live_version_tag>/html/profiler.html?#specifying-a-filetype-or-delimiter). | |||
specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs/v0.1.0/html/profiler.html?#specifying-a-filetype-or-delimiter). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how did you get v0.1.0
... should be 0.10.7
, but that could be because your fork didn't copy over tags maybe? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually this is pulling the first version not 0.10.7...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh no, I was just messing around with tags and I gave my forked branch a new tag called v0.1.0
. There is no tag like that in the original repo.
The current logic I have used is pulling the latest tag from the latest commit across all branches which is not what we want. We want it to be the latest tag from the latest commit within one branch. I have updated the .yml for that and also tested it on my forked I am closing this PR and will open a new one with the updated changes so it is CLA complaint. |
Related to Issue #972
I have changed the hyperlink URL in the readme file and also added a new workflow that will update the link to the live version of the package.