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

Update generated tags file to 767 #1665

Merged
merged 3 commits into from
Nov 29, 2018
Merged

Conversation

miina
Copy link
Contributor

@miina miina commented Nov 28, 2018

PR for testing -- looks like updating the file makes the test fails.

@westonruter
Copy link
Member

Updating the file from what state? The latest amphtml tag? I've identified an issue with the script where it is checking out the most recent tag and not necessarily the most recent stable release.

@miina
Copy link
Contributor Author

miina commented Nov 28, 2018

@westonruter I just checked out 1.0, run the amphtml-update.sh and committed the changes.

Was there anything else that should have been done?

@westonruter
Copy link
Member

The last time I did it, I had to comment out these two lines:

https://github.com/Automattic/amp-wp/blob/b748977321cc3769d0476ceede56c39aa2fed267/bin/amphtml-update.sh#L35-L36

The reason being that the latest tag is not actually the latest stable release, as can be seen at https://github.com/ampproject/amphtml/releases

image

So I manually switched to the latest release tag when I did it. In practice this is probably overkill.

But as can be seen in ampproject/amphtml#19214, the amp-script component was commented-out a couple weeks ago. That is why amp-script is now failing in the unit tests. So we just need to remove the amp-script test.

@kienstra kienstra changed the title [WIP] Update generated tags file. Update generated tags file to 767 Nov 29, 2018
@westonruter westonruter added this to the v1.0 milestone Nov 29, 2018
@kienstra
Copy link
Contributor

Request For Review

Hi @westonruter,
Could you please review this? It applies your suggestion of removing the test for <amp-script>, and it adds a test for the newly-allowed element <amp-delight-player>.

Thanks, Weston 😄

@westonruter westonruter merged commit 0e53679 into 1.0 Nov 29, 2018
@westonruter westonruter deleted the update_generated_tags_file branch November 29, 2018 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants