Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,9 @@ bunx @stellarwp/changelogger write --overwrite-version <version>

## Releasing

1. Update the `VERSION` constant in `src/Harbor/Harbor.php` to the new version.
2. Compile changelog entries: `bunx @stellarwp/changelogger write --overwrite-version <version>`
3. Open a PR and merge.
4. Create a GitHub Release with a new tag in the format `vX.X.X` targeting the merge commit.
1. Run the **Release Prep** workflow (`Actions → Release Prep → Run workflow`). Supply the target branch, version (e.g. `1.2.0`), and the release date (e.g. `2026-04-29`). The workflow bumps the `VERSION` constant, compiles the changelog, and opens a PR automatically.
2. Review and merge the PR.
3. Create a GitHub Release with a new tag in the format `vX.X.X` targeting the merge commit.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion dev_scripts/set-numeric-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function validate() {
function replace_tbd_in_files() {
# Find all files with "TBD" in them
# shellcheck disable=SC2062,SC2035
files_with_tbd=$(grep --exclude-dir={vendor,node_modules,vendor-prefixed,dev_scripts,.git,build,build-dev} --exclude='*.md' --exclude='*.yml' --exclude='*diff*' --exclude='composer.json' -Irnw "$project_root/" -e "$tbd_regex" | cut -d':' -f1 | sed "s|$project_root/||g")
files_with_tbd=$(grep --exclude-dir={vendor,node_modules,vendor-prefixed,dev_scripts,.git,build,build-dev} --exclude='*.md' --exclude='*.yml' --exclude='*diff*' --exclude='composer.json' --exclude='set-numeric-version.bats' -Irnw "$project_root/" -e "$tbd_regex" | cut -d':' -f1 | sed "s|$project_root/||g")

if [ "$dry_run" = true ]; then
if [ -n "$files_with_tbd" ]; then
Expand Down