-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix changelog generation #648
fix changelog generation #648
Conversation
ologbonowiwi
commented
Nov 7, 2024
- improve docs (only adding stuff to fake a commit for changelog)
- Revert "improve docs (only adding stuff to fake a commit for changelog)"
- fix: use crab nebula to get last version instead of git tags
- ci: use version from user input on release
- ci: only change the pipeline when changelog is generated
- docs: rollback old changelog
- refactor: remove unnecessary variable and use commit hashes on changelog diff
- refactor: show only first 5 chars from commits
- fix: download crab nebula cli before using it
- chore: only download cn if does not exist
- chore: delete broken version
- refactor: tweaks on changelog generator
This reverts commit ebf8b5f7c03d00ef6a467f34120cbb640a81d3df.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
# Add the full changelog on the end of the file | ||
echo """ | ||
#### **Full Changelog:** [$LAST_RELEASE...$CURRENT_RELEASE](https://github.com/mediar-ai/screenpipe/compare/$LAST_RELEASE...$CURRENT_RELEASE) | ||
#### **Full Changelog:** [$SHORT_COMMIT_LAST_RELEASE..$SHORT_COMMIT_CURRENT_RELEASE](https://github.com/mediar-ai/screenpipe/compare/$SHORT_COMMIT_LAST_RELEASE..$SHORT_COMMIT_CURRENT_RELEASE) | ||
""" >> content/changelogs/$CURRENT_RELEASE.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works but note that if have multiple versions, it'll work fine but the specific changelog for that version will be overwritten. is that ok @louis030195?
if we need to keep all changelogs from all versions – even duplicates – it'll require a few tweaks but I can implement it. I'll basically add timestamp to the changelog name, so we can differentiate between them. if it's ok override the duplicated version, feel free to merge it (unless you have any comments)
* Use self-hosted runner for release app * Use preinstalled Ollama * Fix ffmpeg path * Rename ollama and use sourceforge for macos * Fix ffmpeg path * Use bin for ffmpeg path
@ologbonowiwi can you fix conflict & i merge? |
This reverts commit ebf8b5f7c03d00ef6a467f34120cbb640a81d3df.
…owiwi/screenpipe into fix-changelog-generation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rollbacking to the old version. shouldn't matter, as soon as you merge feel free to trigger a release so we can see if it works
conflicts fixed @louis030195 |
thanks a lot! |
* improve docs (only adding stuff to fake a commit for changelog) * Revert "improve docs (only adding stuff to fake a commit for changelog)" This reverts commit ebf8b5f7c03d00ef6a467f34120cbb640a81d3df. * fix: use crab nebula to get last version instead of git tags * ci: use version from user input on release * ci: only change the pipeline when changelog is generated * docs: rollback old changelog * refactor: remove unnecessary variable and use commit hashes on changelog diff * refactor: show only first 5 chars from commits * fix: download crab nebula cli before using it * chore: only download cn if does not exist * chore: delete broken version * refactor: tweaks on changelog generator * refactor: delete unnecessary prompt * refactor: use commit_hash as second parameter * refactor: improve prompt * Update README.md * Revert ffmpeg in macOS to old mirror, rename ollama (mediar-ai#650) * Use self-hosted runner for release app * Use preinstalled Ollama * Fix ffmpeg path * Rename ollama and use sourceforge for macos * Fix ffmpeg path * Use bin for ffmpeg path * docs: add changelog for * improve docs (only adding stuff to fake a commit for changelog) * Revert "improve docs (only adding stuff to fake a commit for changelog)" This reverts commit ebf8b5f7c03d00ef6a467f34120cbb640a81d3df. * fix: use crab nebula to get last version instead of git tags * ci: use version from user input on release * ci: only change the pipeline when changelog is generated * docs: rollback old changelog * refactor: remove unnecessary variable and use commit hashes on changelog diff * refactor: show only first 5 chars from commits * fix: download crab nebula cli before using it * chore: only download cn if does not exist * chore: delete broken version * refactor: tweaks on changelog generator * refactor: delete unnecessary prompt * refactor: use commit_hash as second parameter * refactor: improve prompt * ci: fix generate changelog prompt --------- Co-authored-by: Louis Beaumont <[email protected]> Co-authored-by: Neptune <[email protected]> Co-authored-by: GitHub Actions Bot <github-actions[bot]@users.noreply.github.com>