neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 442dade5bed23737d07796d8b47eed15ed51e522
parent 7e393ff4f24b2e9d32bc6a008b2b8549f473aba5
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Wed,  4 Jun 2025 17:32:24 +0200

ci(release): drop manual shasum collection

This is now included for all GH release assets out-of-the-box, see
https://github.blog/changelog/2025-06-03-releases-now-expose-digests-for-release-assets/

These can be accessed programmatically through
  `gh release view --json assets <release tag>`
and then looking at the `digest` key.

Diffstat:
M.github/workflows/notes.md | 2--
M.github/workflows/release.yml | 16++--------------
2 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/notes.md b/.github/workflows/notes.md @@ -75,5 +75,3 @@ If your system does not have the required glibc version, try the (unsupported) [ ### Other - Install by [package manager](https://github.com/neovim/neovim/blob/master/INSTALL.md#install-from-package) - -## SHA256 Checksums diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml @@ -193,25 +193,13 @@ jobs: echo 'PRERELEASE=') >> $GITHUB_ENV gh release delete stable --yes || true git push origin :stable || true - # `sha256sum` outputs <sha> <path>, so we cd into each dir to drop the - # containing folder from the output. - - run: | - for i in nvim-*; do - ( - cd $i || exit - sha256sum * >> $GITHUB_WORKSPACE/shasum.txt - ) - done - name: Publish release env: NVIM_VERSION: ${{ needs.linux.outputs.version }} DEBUG: api run: | envsubst < "$GITHUB_WORKSPACE/.github/workflows/notes.md" > "$RUNNER_TEMP/notes.md" - echo '```' >> "$RUNNER_TEMP/notes.md" - cat shasum.txt >> "$RUNNER_TEMP/notes.md" - echo '```' >> "$RUNNER_TEMP/notes.md" if [ "$TAG_NAME" != "nightly" ]; then - gh release create stable $PRERELEASE --notes-file "$RUNNER_TEMP/notes.md" --title "$SUBJECT" --target $GITHUB_SHA nvim-macos-x86_64/* nvim-macos-arm64/* nvim-linux-x86_64/* nvim-linux-arm64/* nvim-appimage-x86_64/* nvim-appimage-arm64/* nvim-win64/* shasum.txt + gh release create stable $PRERELEASE --notes-file "$RUNNER_TEMP/notes.md" --title "$SUBJECT" --target $GITHUB_SHA nvim-macos-x86_64/* nvim-macos-arm64/* nvim-linux-x86_64/* nvim-linux-arm64/* nvim-appimage-x86_64/* nvim-appimage-arm64/* nvim-win64/* fi - gh release create $TAG_NAME $PRERELEASE --notes-file "$RUNNER_TEMP/notes.md" --title "$SUBJECT" --target $GITHUB_SHA nvim-macos-x86_64/* nvim-macos-arm64/* nvim-linux-x86_64/* nvim-linux-arm64/* nvim-appimage-x86_64/* nvim-appimage-arm64/* nvim-win64/* shasum.txt + gh release create $TAG_NAME $PRERELEASE --notes-file "$RUNNER_TEMP/notes.md" --title "$SUBJECT" --target $GITHUB_SHA nvim-macos-x86_64/* nvim-macos-arm64/* nvim-linux-x86_64/* nvim-linux-arm64/* nvim-appimage-x86_64/* nvim-appimage-arm64/* nvim-win64/*