Skip to content

Commit 31d665e

Browse files
github-actions[bot]petesramekPete Sramekdependabot[bot]
authored
Promote develop/1.0 to preview/1.0 (#106)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Pete Sramek <me@petesramek.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Pete Sramek <petr.sramek@dropoutcoder.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7c21295 commit 31d665e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)