File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments