Skip to content

Commit ba5ef9c

Browse files
BeryJuauthentik-automation[bot]
authored andcommitted
ci: link to next. for pre-release docs (#17634)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
1 parent b7d3039 commit ba5ef9c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-tag.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ jobs:
3535
echo "major_version=${{ inputs.version }}" | grep -oE "^major_version=[0-9]{4}\.[0-9]{1,2}" >> "$GITHUB_OUTPUT"
3636
- id: changelog-url
3737
run: |
38-
if [ "${{ inputs.release_reason }}" = "feature" ] || [ "${{ inputs.release_reason }}" = "prerelease" ]; then
38+
if [ "${{ inputs.release_reason }}" = "feature" ]; then
3939
changelog_url="https://docs.goauthentik.io/docs/releases/${{ steps.check.outputs.major_version }}"
40+
elif [ "${{ inputs.release_reason }}" = "prerelease" ]; then
41+
changelog_url="https://next.goauthentik.io/docs/releases/${{ steps.check.outputs.major_version }}"
4042
else
4143
changelog_url="https://docs.goauthentik.io/docs/releases/${{ steps.check.outputs.major_version }}#fixed-in-$(echo -n ${{ inputs.version }} | sed 's/\.//g')"
4244
fi

0 commit comments

Comments
 (0)