Skip to content

Commit

Permalink
Fix release notes (#1022)
Browse files Browse the repository at this point in the history
Fixes release notes for #884
  • Loading branch information
kuznetsss authored Dec 11, 2023
1 parent 7d1d174 commit ac6ad13
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
with:
disable_ccache: true


- name: Setup conan
uses: ./.github/actions/setup_conan
id: conan
Expand Down Expand Up @@ -114,23 +115,29 @@ jobs:
- name: Prepare files
shell: bash
run: |
cp ${{ github.workspace }}/.github/workflows/nightly_notes.md "${RUNNER_TEMP}/nightly_notes.md"
cd nightly_release
rm -r clio_tests*
CLIO_SHA256_SUMS=''
for d in $(ls); do
archive_name=$(ls $d)
mv ${d}/${archive_name} ./
rm -r $d
sha256sum ./$archive_name > ./${archive_name}.sha256sum
echo -e "$(cat ./${archive_name}.sha256sum)\n${CLIO_SHA256_SUMS}"
cat ./$archive_name.sha256sum >> "${RUNNER_TEMP}/nightly_notes.md"
done
echo $CLIO_SHA256_SUMS >> $GITHUB_ENV
echo '```' >> "${RUNNER_TEMP}/nightly_notes.md"
- name: Remove current nightly release and nightly tag
shell: bash
run: |
gh release delete nightly --yes || true
git push origin :nightly || true
- name: Publish nightly release
shell: bash
run: |
gh release create nightly --prerelease --title "Clio development (nightly) build" \
--target $GITHUB_SHA --notes-file "${{ github.workspace }}/.github/workflows/nightly_notes.md" \
--target $GITHUB_SHA --notes-file "${RUNNER_TEMP}/nightly_notes.md" \
./nightly_release/clio_server*
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/nightly_notes.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
```
Based on commit: $GITHUB_SHA
```

> **Note:** Please remember that this is a development release and it is not recommended for production use.
Changelog (including previous releases): https://github.com/kuznetsss/clio/commits/nightly
Changelog (including previous releases): https://github.com/XRPLF/clio/commits/nightly

## SHA256 checksums
```
$(CLIO_SHA256_SUMS)
```

0 comments on commit ac6ad13

Please sign in to comment.