Skip to content

Commit 2037481

Browse files
committed
Create 'latest' directory on c.quick-lint-js.com
Make it easier for scripts to pull the latest version by creating https://c.quick-lint-js.com/releases/latest/, which is currently a symlink to https://c.quick-lint-js.com/releases/0.7.0/. (This commit updates the release instructions so that future releases update the symlink. I manually created the symlink for version 0.7.0.)
1 parent ab1f46c commit 2037481

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/RELEASE.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ Follow the following steps to release a new version of quick-lint-js:
4040
8. Upload the signed build artifacts to the artifact server:
4141
`rsync -av signed-builds/ [email protected]:/var/www/c.quick-lint-js.com/releases/$YOUR_VERSION_NUMBER/`
4242

43-
9. Publish the packages:
43+
9. Update the `latest` symlink on the artifact server:
44+
`ssh [email protected] "ln --force --no-dereference --symbolic $YOUR_VERSION_NUMBER /var/www/c.quick-lint-js.com/releases/latest"`
45+
46+
10. Publish the packages:
4447
* With the `vscode/quick-lint-js-*.vsix` artifact:
4548
`npx vsce publish --packagePath signed-builds/vscode/quick-lint-js-*.vsix`
4649
* With the `vscode/quick-lint-js-*.vsix` artifact:
@@ -49,14 +52,14 @@ Follow the following steps to release a new version of quick-lint-js:
4952
`npm publish signed-builds/npm/quick-lint-js-*.tgz`
5053
* Run the `dist/debian/sync-releases-to-apt` script.
5154

52-
10. Publish the website: Run `./website/deploy.sh COMMIT_HASH_HERE`.
55+
11. Publish the website: Run `./website/deploy.sh COMMIT_HASH_HERE`.
5356

54-
11. Create a Git tag named after the version number (e.g. `0.1.0`). Push it to
57+
12. Create a Git tag named after the version number (e.g. `0.1.0`). Push it to
5558
GitHub.
5659

57-
12. Push the commit to the `master` branch on GitHub.
60+
13. Push the commit to the `master` branch on GitHub.
5861

59-
13. Update Arch Linux user repositories (AUR):
62+
14. Update Arch Linux user repositories (AUR):
6063
1. Clone ssh://[email protected]/quick-lint-js with Git.
6164
2. Update README to point to the tag's commit.
6265
3. Run `dist/arch/update-aur.sh --docker --test /path/to/quick-lint-js-aur-clone`.

0 commit comments

Comments
 (0)