Skip to content

Commit f5abf7f

Browse files
authored
Fix to release scripts when called in other repos (#65)
1 parent 5badfe0 commit f5abf7f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/actions/create-tag-and-github-release/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
# Always scope release notes to the semver-previous tag so that
4646
# hotfix tags created out of order don't skew the range.
4747
NOTES_FLAG="--generate-notes"
48-
PREV_TAG=$("$GITHUB_WORKSPACE/.github/scripts/find-latest-version.sh" "$VERSION") || true
48+
PREV_TAG=$("$GITHUB_ACTION_PATH/../../scripts/find-latest-version.sh" "$VERSION") || true
4949
if [ -n "$PREV_TAG" ]; then
5050
NOTES_FLAG="--generate-notes --notes-start-tag v$PREV_TAG"
5151
fi

.github/actions/validate-release-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ runs:
2828
env:
2929
VERSION: ${{ inputs.version }}
3030
IS_HOTFIX: ${{ inputs.is-hotfix }}
31-
run: bash "$GITHUB_WORKSPACE/.github/scripts/validate-release-version.sh"
31+
run: bash "$GITHUB_ACTION_PATH/../../scripts/validate-release-version.sh"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
are proxied to Grails with the prefix stripped. This mirrors the production nginx setup, avoids
1414
CORS issues, and simplifies local development. Apps with an explicit `baseUrl` are unaffected.
1515

16+
### 🐞 Bug Fixes
17+
18+
* Fixed bug in release-related GitHub actions that prevented them from working when used in other repos.
19+
1620
## v11.2.0 - 2026-03-27
1721

1822
### ⚙️ Technical

0 commit comments

Comments
 (0)