Skip to content

Commit f4440db

Browse files
github-actions[bot]Pete Srameksramekpetedependabot[bot]
authored
Promote develop/1.0 to preview/1.0 (#110)
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 15d676a commit f4440db

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ 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 }}
3837

3938
steps:
4039
- name: 'Set workflow variables'
4140
id: github
4241
run: |
4342
echo "is-release:${{ startsWith(github.ref_name, 'release') }}"
4443
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
4744
4845
validate-release:
4946
name: 'Validate release'
@@ -246,10 +243,17 @@ jobs:
246243
steps:
247244
- name: 'Checkout ${{ github.head_ref || github.ref }}'
248245
uses: actions/checkout@v5
246+
247+
- name: 'Determine notes start tag'
248+
id: determine-notes-start-tag
249+
run: |
250+
notes-start-tag=$(git describe --abbrev=0 --tags)
251+
echo "notes-start-tag=$notes-start-tag" >> $GITHUB_OUTPUT
252+
shell: bash
249253

250254
- name: 'Create GitHub Release'
251255
uses: ./.github/actions/github/create-release
252256
with:
253257
release-version: ${{ env.release-version }}
254258
is-preview: ${{ env.is-preview }}
255-
notes-start-tag: ${{ env.notes-start-tag }}
259+
notes-start-tag: ${{ steps.determine-notes-start-tag.outputs.notes-start-tag }}

src/PolylineAlgorithm/PolylineAlgorithm.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<PropertyGroup>
2424
<PublishRepositoryUrl>true</PublishRepositoryUrl>
25-
</PropertyGroup>
25+
</PropertyGroup>
2626

2727
<PropertyGroup>
2828
<DebugType>pdbonly</DebugType>

0 commit comments

Comments
 (0)