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: self-update check for updates #562

Merged
merged 4 commits into from
Aug 28, 2023
Merged

fix: self-update check for updates #562

merged 4 commits into from
Aug 28, 2023

Conversation

vladdoster
Copy link
Member

@vladdoster vladdoster commented Aug 12, 2023

Motivation and Context

Match Homebrew's behavior

~/.local/share/zinit/zinit.git main*
MDN-X5J9PHV9NQ ᐳ brew update
Already up-to-date.

Usage examples

Current behavior

~/.local/share/zinit/zinit.git main
MDN-X5J9PHV9NQ ᐳ zi self-update
[self-update] fetching latest changes from main branch
Already up to date.
[self-update] compiling zinit via zcompile
[self-update] reloading zinit for the current session

New Behavior

~/.local/share/zinit/zinit.git main*
MDN-X5J9PHV9NQ ᐳ zi self-update
Already up-to-date.

How Has This Been Tested?

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bug fix (non-breaking change which fixes an issue)
  • Documentation change
  • New feature (non-breaking change which adds functionality)

Checklist:

  • All new and existing tests passed.
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.

@vladdoster
Copy link
Member Author

@pschmitt,

This is the first applicable use of this function, but can be used in a few more places to improve logic.

@vladdoster
Copy link
Member Author

@pschmitt,

This PR is ready for review.

@github-actions github-actions bot added the docs label Aug 20, 2023
@vladdoster vladdoster force-pushed the feat/self-update branch 2 times, most recently from 2d761ab to ac49f0e Compare August 20, 2023 06:20
@github-actions github-actions bot removed the docs label Aug 20, 2023
Signed-off-by: Doster, Vladislav <mvdoster@gmail.com>
actions-user and others added 2 commits August 20, 2023 06:30
Signed-off-by: GitHub Actions <actions@github.com>
@github-actions github-actions bot added the docs label Aug 28, 2023
@vladdoster vladdoster merged commit b456a2d into main Aug 28, 2023
5 checks passed
@vladdoster vladdoster deleted the feat/self-update branch August 28, 2023 09:18
github-actions bot pushed a commit that referenced this pull request Aug 30, 2023
# [3.12.0](v3.11.0...v3.12.0) (2023-08-30)

### Bug Fixes

* build container for tagged releases ([f933dc0](f933dc0))
* gh-r linux regex & gh-r zunit tests ([#564](#564)) ([207ab9f](207ab9f))
* gh-r zunit tests ([#561](#561)) ([97b087e](97b087e))
* Ignore .yaml and .py files when installing completions ([#528](#528)) ([113cfc4](113cfc4))
* jq has moved from stedolan/jq to jqlang/jq ([#530](#530)) ([de85908](de85908))
* math expression in plugins command ([#559](#559)) ([68a6b42](68a6b42))
* pin fclones version to v0.31.0 ([497d519](497d519))
* quote parens so that they aren't used as globs ([#549](#549)) ([1375adf](1375adf))
* self-update check for updates ([#562](#562)) ([b456a2d](b456a2d))
* update gomi repo owner ([#568](#568)) ([19ca2dc](19ca2dc))

### Features

* build container with zsh 5.9 ([#525](#525)) ([238e843](238e843))
@github-actions
Copy link

🎉 This PR is included in version 3.12.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants