Skip to main content

Automate UPM package releases for Git repositories containing Unity plugins.

Project description

This package is deprecated in favor of git-upm-publisher-2.

The new package is written in JS. It is much more stable and doesn't have the annoying package resolution bugs of python.


git-upm-publisher

Automate UPM package releases for Git repositories containing Unity plugins.

Modules

  • config_maker.py: searches for package.json files within a repository, and saves the selected one to a config.json file
  • package_json_creator.py: creates a package.json file from scratch
  • package_json_updater.py: updates an existing package.json partially (or completely)
  • upm_publisher.py: automates the whole UPM publishing process explained here: https://www.patreon.com/posts/25070968
  • main.py: runs all the necessary modules in order, so you don't have to

Installation

https://pypi.org/project/git-upm-publisher/

pip install git-upm-publisher

Usage

Run gup in your command line.

Advanced

  • gup-main runs main (equaivalent of gup)
  • gup-config-maker runs config_maker
  • gup-package-json-creator runs package_json_creator
  • gup-package-json-updater runs package_json_updater
  • gup-upm-publisher runs upm_publisher

License

MIT license. Refer to the LICENSE file. Copyright (c) 2019 S. Tarık Çetin

This application uses git-snapshot command from mob-sakai. Take a look and give them some love.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-upm-publisher-0.0.5.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

git_upm_publisher-0.0.5-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page