-
Notifications
You must be signed in to change notification settings - Fork 123
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
Update octicon version #1652
Update octicon version #1652
Conversation
lerna.json
Outdated
@@ -2,5 +2,5 @@ | |||
"packages": [ | |||
"packages/*" | |||
], | |||
"version": "3.0.6" | |||
"version": "3.0.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.
I believe there is no need to increment the version no. We usually only do this during a new release. Same for the rest of the package.json
.
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.
@jonahtanjz how do we ensure that the version update happens at the next release? Is it automatic? If not, is it better to update the version number now itself? It might help to detect problems with new versions before the next release.
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.
Prof @damithc, based on the project management guide for doing a release, the version number will be incremented when running the lerna version --no-push
command. From my understanding, I don't think we should be changing the version number when updating dependencies as this will affect a few things, such as test files etc, and also make it harder to track if for example another PR has incremented the number for another dependency update etc.
EDIT: We also need to know the changes that will be added to the next release so that we can increment the version accordingly (either patch, minor or major).
It might help to detect problems with new versions before the next release.
We should still be able to detect issues once the PR is merged to master without changing the version number.
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.
Got it. Thanks for the explanation @jonahtanjz
This reverts commit 5659965. :q :wq i
Hi, I'm not sure why this CI is not working and I can't seem to replicate this on my local machine. The steps I followed to test this:
Things I have done to troubleshoot this issue:
|
Hi @ong6, I was able to replicate the error on my local machine after pulling from your branch. I ran Not sure why this is not reflected on your local machine after running EDIT: You can try running |
Thanks for the help @jonahtanjz it worked after I reset the markbind repo and reset it! |
One minor nit, you can ignore the generated |
Hi @ong6, just to check on this, able to ignore the |
@jonahtanjz Oops missed your previous message, will remove them now! Or did you mean just ignoring them in gitignore? I think I will create a new PR if that's the case, seems to be quite hard to revert this. |
Ahh sorry might not have been clear 😅 I meant reverting only the |
@jonahtanjz Wow! Didn't think it was so simple to ignore the changes, I guess you learn something new with git every day. Thanks for all the help! |
.gitignore
Outdated
@@ -46,6 +46,7 @@ packages/core/template/*/_site | |||
|
|||
# Generated site (MarkBind) | |||
packages/cli/test/functional/*/_site | |||
packages/cli/test/functional/test_site/expected/diagrams/*.png |
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.
We will still need to track the changes of the generated diagrams when there are updates to the test .puml
files here (add/remove .puml
files or simply updating the code in the .puml
files etc).
What I meant earlier about "ignoring" the generated images is when there are no changes made to the original .puml
test files before running updatetest
. In this scenario, we should revert the changes made to the expected images generated after updatetest
as the images should not have changed. Sorry for the confusion 😅
Just need to remove this line here and the rest is good 👍
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.
LGTM 👍
What is the purpose of this pull request?
Fixes #1639
Overview of changes:
Anything you'd like to highlight / discuss:
Testing instructions:
Can test this by trying
:octicon-file-diff:
(which was not working previously)Proposed commit message: (wrap lines at 72 characters)
Update octicon version
Checklist: ☑️