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

Try to implement update only on new versions #61

Open
3 of 4 tasks
mytja opened this issue Sep 11, 2020 · 5 comments
Open
3 of 4 tasks

Try to implement update only on new versions #61

mytja opened this issue Sep 11, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@mytja
Copy link
Collaborator

mytja commented Sep 11, 2020

  • Guess how to do it....
  • Add python updater
  • Implement it
  • Implement also updating from other branches (not stable versions)
@alexmercerind
Copy link
Collaborator

@mytja !
GitHub has a good API already, so you can use that for version handling.

The way I did it... is I make release tags on my repository after every release & then I check for version tag of the latest tag (index 0 of the release tags array from GitHub) & compare that version tag with current version tag.

If it is not equal, then I show update dialog.
(It's not a professional method, but I made this myself for the time being).

@alexmercerind
Copy link
Collaborator

You can see it here.

@mytja
Copy link
Collaborator Author

mytja commented Sep 12, 2020

Awesome!
API is amazing!
Will merge it today!

@mytja mytja self-assigned this Sep 12, 2020
@mytja mytja added the enhancement New feature or request label Sep 12, 2020
@mytja mytja pinned this issue Sep 12, 2020
mytja added a commit that referenced this issue Sep 12, 2020
Guinea pig 1.2.2

What's new in this version?
- Removed updater on boot (now you can directly run python3 my.py in .bashrc)
- Added releases API with description and new functions, that release provides

Thanks to @alexmercerind for submitting GitHub API in #61
@mytja
Copy link
Collaborator Author

mytja commented Sep 12, 2020

Merged, still have to do updating from other branches
https://github.com/mytja/MyAssistantOS-Raspbian/releases/tag/guinea_1.2.2

@mytja
Copy link
Collaborator Author

mytja commented Sep 14, 2020

There is currently fully functional release Stable 1.2.2
OOBE is now fully tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants