Skip to content

Commit

Permalink
chore: let's not store the release notes in the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf committed Nov 21, 2024
1 parent ecd46ec commit 061327d
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 558 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,27 +172,6 @@ jobs:
git config user.name "GitHub Actions Bot"
git config user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
- name: Update Release Notes File
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
if git ls-remote --exit-code origin refs/tags/${{ env.RELEASE_VERSION }}; then
>&2 echo "tag ${{ env.RELEASE_VERSION }} already exists"
exit 2
fi
v="${{env.RELEASE_VERSION}}"
f="docs/releasenotes/$v.md"
if [ ! -f "$f" ]; then
echo "# Release ${{ env.RELEASE_VERSION }}" > "$f"
echo "$RELEASE_NOTES" | tail -n +2 >> "$f"
git add "$f"
git commit -m "ReleaseNotes for $RELEASE_VERSION"
git push origin ${GITHUB_REF#refs/heads/}
else
echo "Using release notes file $f from code base"
fi
echo "RELEASE_NOTES_FILE=$f" >> $GITHUB_ENV
- name: Create and Push Release
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
Expand Down
115 changes: 0 additions & 115 deletions docs/releasenotes/v0.1.0.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/releasenotes/v0.10.0.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs/releasenotes/v0.11.0.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/releasenotes/v0.12.0.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/releasenotes/v0.13.0.md

This file was deleted.

21 changes: 0 additions & 21 deletions docs/releasenotes/v0.14.0.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/releasenotes/v0.15.0.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/releasenotes/v0.16.0.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/releasenotes/v0.2.0.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs/releasenotes/v0.3.0-rc.2.md

This file was deleted.

Loading

0 comments on commit 061327d

Please sign in to comment.