From 6045437ad1b0bb8e285f5cef9267f668700eb3de Mon Sep 17 00:00:00 2001 From: Marie Lucca Date: Mon, 3 Aug 2026 21:44:05 -0400 Subject: [PATCH] docs: document publishing releases Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 580711e3..b360e818 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,3 +28,9 @@ The QUnit test suite can also be ran in the browser. ``` $ open test/test.html ``` + +## Publishing + +To publish a new version to npm, [create a GitHub release](https://github.com/github/relative-time-element/releases/new) with the new version tag. If the tag does not exist yet, create it from the release page while creating the release. + +Publishing the release automatically triggers the [Publish workflow](https://github.com/github/relative-time-element/actions/workflows/publish.yml), which tests the package and publishes the tagged version to npm.