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

Create and publish "release" branch to GitHub Pages #38

Closed
tidoust opened this issue Apr 11, 2020 · 2 comments
Closed

Create and publish "release" branch to GitHub Pages #38

tidoust opened this issue Apr 11, 2020 · 2 comments

Comments

@tidoust
Copy link
Member

tidoust commented Apr 11, 2020

Currently, the master branch is published to GitHub Pages. That means the index.json file may include changes that have not yet been integrated in the NPM package and in the GitHub release. For improved consistency, it would be good to rather maintain a release branch that always points at the latest release, and to publish that branch instead.

@foolip
Copy link
Member

foolip commented May 26, 2020

If releases are created by tagging the repository, it would be fairly straightforward to automatically roll a release branch forward using a GitHub Action.

@tidoust
Copy link
Member Author

tidoust commented Feb 8, 2022

With the release workflow introduced while adding support for non-browser specs (PR #496, issue #436), the web-specs@latest branch is now the one published under GitHub Pages. It should always point to the commit that gave birth to the latest released version of the web-specs package. In other words, the web-specs@latest branch acts as the release branch envisioned by this old issue.

FWIW, the index.json file on the main branch is now only updated when tests pass (it used to be updated no matter what).

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

No branches or pull requests

2 participants