File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,16 @@ jobs:
3434 outputs :
3535 is-release : ${{ startsWith(github.ref_name, 'release') }}
3636 is-preview : ${{ startsWith(github.ref_name, 'preview') }}
37+ notes-start-tag : ${{ steps.github.outputs.notes-start-tag }}
3738
3839 steps :
3940 - name : ' Set workflow variables'
4041 id : github
4142 run : |
4243 echo "is-release:${{ startsWith(github.ref_name, 'release') }}"
4344 echo "is-preview:${{ startsWith(github.ref_name, 'preview') }}"
45+ notes-start-tag=$(git describe --abbrev=0 --tags)
46+ echo "notes-start-tag=$notes-start-tag" >> $GITHUB_OUTPUT
4447
4548 validate-release :
4649 name : ' Validate release'
@@ -239,6 +242,7 @@ jobs:
239242 env :
240243 release-version : ${{ needs.versioning.outputs.release-version }}
241244 is-preview : ${{ needs.workflow-variables.outputs.is-preview }}
245+ notes-start-tag : ${{ needs.workflow-variables.outputs.notes-start-tag }}
242246 steps :
243247 - name : ' Checkout ${{ github.head_ref || github.ref }}'
244248 uses : actions/checkout@v5
@@ -248,4 +252,4 @@ jobs:
248252 with :
249253 release-version : ${{ env.release-version }}
250254 is-preview : ${{ env.is-preview }}
251- notes-start-tag : $(git describe --abbrev=0 --tags)
255+ notes-start-tag : ${{ env.notes-start-tag }}
You can’t perform that action at this time.
0 commit comments