Cleaner nightly release notes (#4668)

* Bump: Improve and fix nightly release notes

* Clean up after manual push

* Consistency tweak
This commit is contained in:
Pierre Jacquier
2024-12-05 15:14:58 -05:00
committed by GitHub
parent 8072f1db63
commit 7a21918223
2 changed files with 12 additions and 3 deletions

View File

@ -1,8 +1,6 @@
#!/bin/bash
export VERSION=$(date +'%-y.%-m.%-d')
export TAG="nightly-v$VERSION"
export PREVIOUS_TAG=$(git describe --tags --match="nightly-v[0-9]*" --abbrev=0)
export COMMIT=$(git rev-parse --short HEAD)
# package.json
@ -15,7 +13,7 @@ yq -i '.publish[0].url = "https://dl.zoo.dev/releases/modeling-app/nightly"' ele
yq -i '.appId = "dev.zoo.modeling-app-nightly"' electron-builder.yml
# Release notes
./scripts/get-nightly-changelog.sh > release-notes.md
echo "Nightly build $VERSION (commit $COMMIT)" > release-notes.md
# icons
cp assets/icon-nightly.png assets/icon.png