Skip to content

Commit d5323cb

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

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/actions/github/create-release/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ inputs:
88
is-preview:
99
description: 'Is this a preview release?'
1010
required: true
11+
notes-start-tag:
12+
description: 'Tag to start generating release notes from. Default: latest tag.'
13+
required: false
14+
default: ''
1115

1216
runs:
1317
using: composite
@@ -18,11 +22,13 @@ runs:
1822
echo "release-version=${{ inputs.release-version }}"
1923
echo "is-preview=${{ inputs.is-preview }}"
2024
echo "preview-argument=${{ inputs.is-preview == 'true' && '--prerelease' || '' }}"
25+
echo "start-tag=$(git describe --abbrev=0 --tags)"
2126
shell: bash
2227
- name: 'Create GitHub release PolylineAlgorithm ${{ env.release-version }}'
2328
shell: bash
2429
env:
2530
GH_TOKEN: ${{ github.token }}
2631
preview-argument: "${{ inputs.is-preview == 'true' && '--prerelease' || '' }}"
32+
notes-start-tag-argument: "${{ inputs.notes-start-tag != '' && '--notes-start-tag inputs.notes-start-tag' || '' }}"
2733
run: |
28-
gh release create ${{ env.release-version }} --generate-notes --discussion-category "General" ${{ env.preview-argument }}
34+
gh release create ${{ env.release-version }} --generate-notes --discussion-category "General" ${{ env.preview-argument }} ${{ env.notes-start-tag-argument }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ jobs:
232232
working-directory: ${{ runner.temp }}/${{ env.nuget-packages-directory }}
233233
dotnet-sdk-version: ${{ env.dotnet-sdk-version }}'
234234

235-
236235
release:
237236
name: 'Create release'
238237
needs: [workflow-variables, publish-package, validate-release, versioning]
@@ -249,3 +248,4 @@ jobs:
249248
with:
250249
release-version: ${{ env.release-version }}
251250
is-preview: ${{ env.is-preview }}
251+
notes-start-tag: $(git describe --abbrev=0 --tags)

src/PolylineAlgorithm/PolylineAlgorithm.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3636
<Title>PolylineAlgorithm for .NET</Title>
3737
<PackageReadmeFile>README.md</PackageReadmeFile>
38-
<PackageTags>google;polyline;algorithm;maps;encoding;google-maps;polyline-algorithm</PackageTags>
38+
<PackageTags>google;polyline;algorithm;encoding;polyline-algorithm;</PackageTags>
3939
<Copyright>© 2025, Pete Sramek.</Copyright>
4040
<Authors>Pete Sramek</Authors>
4141
<Description>
@@ -82,4 +82,4 @@
8282
</EmbeddedResource>
8383
</ItemGroup>
8484

85-
</Project>
85+
</Project>

0 commit comments

Comments
 (0)