Skip to content

Commit 9112266

Browse files
authored
feat: add short link for addon-update-checker.sh (#411)
1 parent 642419f commit 9112266

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

public/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/s/divide-and-conquer https://www.fldrupal.camp/session/divide-and-conquer-systematic-approach-troubleshooting-issues 301
88
/s/divide-and-conquer-drupal4gov https://docs.google.com/presentation/d/1_OyAwQGTtz9xv1e_Qzau4Rarum5xQpPy0uS7ntA9leI/edit?usp=sharing 301
99
/s/divide-conquer-dcco https://docs.google.com/presentation/d/1JBSXLP59E8DSzkvxqPPKuceQ_fSMXoW_tySs_jXe8Pg/edit?usp=sharing 301
10+
/s/addon-update-checker.sh https://raw.githubusercontent.com/ddev/ddev-addon-template/main/.github/scripts/update-checker.sh 301
1011

1112
# Generic blog redirects
1213
/ddev-local /blog 301

src/content/blog/ddev-add-on-maintenance-guide.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ As part of preparing this guide, I also updated all official DDEV add-ons to ref
2020

2121
## Recommendations for Add-on Maintainers
2222

23+
Run the update checker script periodically in your add-on to verify it is up to date:
24+
25+
```bash
26+
curl -fsSL https://ddev.com/s/addon-update-checker.sh | bash
27+
```
28+
2329
Here are some high-level practices to follow:
2430

2531
- Take inspiration from the [official add-ons](https://addons.ddev.com/), see how they're structured and follow similar practices
@@ -31,10 +37,6 @@ Here are some high-level practices to follow:
3137
- Use `#!/usr/bin/env bash` instead of `#!/bin/bash` at the top of your command scripts, it's more portable and works better across different environments.
3238
- Ensure your add-on cleans up after itself: both `ddev add-on get` and `ddev add-on remove` should be idempotent. All files added via `project_files` and `global_files` must include a `#ddev-generated` stanza to support proper removal
3339
- Remember to publish a new release after any update (unless it's just a `README.md` change)
34-
- Run the update checker in your add-on to ensure it is up to date:
35-
```bash
36-
curl -fsSL https://raw.githubusercontent.com/ddev/ddev-addon-template/main/.github/scripts/update-checker.sh | bash
37-
```
3840

3941
## What's New in the DDEV Ecosystem
4042

0 commit comments

Comments
 (0)