Skip to content

Commit 0c560a2

Browse files
authored
blog: add update checker script (#401)
1 parent 7a491ea commit 0c560a2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: "DDEV Add-on Maintenance Guide"
33
pubDate: 2025-05-01
4-
#modifiedDate: 2025-05-01
4+
modifiedDate: 2025-07-22
5+
modifiedComment: Added update checker script.
56
summary: Maintaining an add-on involves regularly updating it to stay compatible with new features in both the upstream ddev-addon-template and DDEV itself.
67
author: Stas Zhuk
78
featureImage:
@@ -30,8 +31,10 @@ Here are some high-level practices to follow:
3031
- 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.
3132
- 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
3233
- Remember to publish a new release after any update (unless it's just a `README.md` change)
33-
34-
I'm currently working on a script to streamline the update process. It's a work in progress and [available here](https://github.com/ddev/ddev-addon-template/pull/76). I'd appreciate any feedback!
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+
```
3538

3639
## What's New in the DDEV Ecosystem
3740

0 commit comments

Comments
 (0)