mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
15
.github/workflows/nightly.yml
vendored
15
.github/workflows/nightly.yml
vendored
@@ -36,6 +36,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
disable_ccache: true
|
disable_ccache: true
|
||||||
|
|
||||||
|
|
||||||
- name: Setup conan
|
- name: Setup conan
|
||||||
uses: ./.github/actions/setup_conan
|
uses: ./.github/actions/setup_conan
|
||||||
id: conan
|
id: conan
|
||||||
@@ -114,23 +115,29 @@ jobs:
|
|||||||
- name: Prepare files
|
- name: Prepare files
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
cp ${{ github.workspace }}/.github/workflows/nightly_notes.md "${RUNNER_TEMP}/nightly_notes.md"
|
||||||
cd nightly_release
|
cd nightly_release
|
||||||
rm -r clio_tests*
|
rm -r clio_tests*
|
||||||
CLIO_SHA256_SUMS=''
|
|
||||||
for d in $(ls); do
|
for d in $(ls); do
|
||||||
archive_name=$(ls $d)
|
archive_name=$(ls $d)
|
||||||
mv ${d}/${archive_name} ./
|
mv ${d}/${archive_name} ./
|
||||||
rm -r $d
|
rm -r $d
|
||||||
sha256sum ./$archive_name > ./${archive_name}.sha256sum
|
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
|
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
|
- name: Publish nightly release
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
gh release create nightly --prerelease --title "Clio development (nightly) build" \
|
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*
|
./nightly_release/clio_server*
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
8
.github/workflows/nightly_notes.md
vendored
8
.github/workflows/nightly_notes.md
vendored
@@ -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.
|
> **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
|
## SHA256 checksums
|
||||||
```
|
```
|
||||||
$(CLIO_SHA256_SUMS)
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user