This is a simple repository updater script for managing updates to your project. It checks the latest release on GitHub and updates your local files accordingly.
- Automatically checks for the latest release on GitHub.
- Downloads and updates your project files to the latest version.
- Supports both source code and zip archive releases.
- Easy to use.
You can follow these instructions to get your project up and running with the repository updater.
- Python 3.x
- Requests library (you can install it using
pip
)
-
Install the requisites:
pip install requests
-
Clone the repositorie:
git clone https://github.com/AlexPT2k22/Repository-Updater.git
-
Add the code to your project:
- You can add the code directly to your own code, or import it as a .py file
To configure the updater for your specific project, you need to customize the following variables in the auto_updater.py script:
- GITHUB_REPO_OWNER: Your GitHub username or organization.
- GITHUB_REPO_NAME: The name of your repository.
- release_type: Specify whether your release is "source_code" or "zip_archive" in your package.json file.
Contributions are welcome! If you have any improvements or feature suggestions, feel free to open an issue or create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.