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: force submodule to point at right upstream version #21

Merged
merged 2 commits into from
May 20, 2019

Conversation

wincent
Copy link
Contributor

@wincent wincent commented May 20, 2019

Our submodule was pointing at un unpublished rev. The reason is that we have the submodule set to ignore changes (thanks to a2bd014), and so our git add command in ck.sh wasn't having any effect, and we ended up committing a reference to something that we only had in one of our local repos (probably a temporary "liferay" branch).

This commit adds an -f to the git add invocation to prevent this from happening again, and forces the submodule to point at a published commit.

wincent added 2 commits May 20, 2019 10:11
Our submodule was pointing at un unpublished rev. The reason is that we
have the submodule set to ignore changes (thanks to a2bd014), and so
our `git add` command in `ck.sh` wasn't having any effect, and we ended
up committing a reference to something that we only had in one of our
local repos (probably a temporary "liferay" branch).

This commit adds an `-f` to the `git add` invocation to prevent this
from happening again, and forces the submodule to point at a published
commit.
Just confirming that the parent commit really fixes things. I created a
fresh clone of the repo, ran `./ck.sh setup` (it worked), then `./ck.sh
build`, and this is the result. As you can see, only the
timestamp-related aspects have changed; we don't need to cut a new
release.
@wincent wincent added the bug label May 20, 2019
@wincent wincent requested a review from julien May 20, 2019 08:16
Copy link
Contributor

@julien julien left a comment

Choose a reason for hiding this comment

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

Tested on (㎳) Windows 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants