Skip to content
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

Merged
merged 35 commits into from
Nov 7, 2024

Conversation

ologbonowiwi
Copy link
Contributor

  • 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

Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
screenpipe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 3:28pm


# 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
Copy link
Contributor Author

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)

louis030195 and others added 3 commits November 6, 2024 18:39
* 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
@louis030195
Copy link
Collaborator

@ologbonowiwi can you fix conflict & i merge?

Copy link
Contributor Author

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

@ologbonowiwi
Copy link
Contributor Author

conflicts fixed @louis030195

@louis030195 louis030195 merged commit 35351ab into mediar-ai:main Nov 7, 2024
4 of 7 checks passed
@louis030195
Copy link
Collaborator

thanks a lot!

m13v pushed a commit to m13v/screen-pipe that referenced this pull request Nov 9, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants