diff --git a/.travis.yml b/.travis.yml index 3f6dd66..5c1309e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,14 +14,18 @@ env: # travis encrypt PYPI_TOKEN= --add env.global --com # Might need to update it once the repo is publish (travis-ci.org vs travis-ci.com) global: - secure: dpSnHW9xP++k8AOfguX6poI3HdK0fxaWq4aHZCqxbSrNXzokcWf8y5PRMsDLdrbWMXG2JOmFl32bgsYXzcyHoopJwIsetOK97Sjq/Nd/Ycqne/bfXUyvqvF/wcpM9OHd+baHOk+yBVIoEe0fLZVo5gP7abP8ZFyjtyXRxP6zapq0cnxI0H6EPdNRiWJIa8gZT/RKFEeQHN6PIiF5dRNv1Bw0Gp43VT48t0MwhvnH8bT7a6SAZp/4aCNN6+yMPXcUTFyN+Pm+rFwoi7xVafpdFoZb4tOcVoTPQWRS7kcf4y+kvTuUWizumt7Oo5J2MyprAZsdWhp/4RGcwzdr371Bj9RyjH4lm+yf3uGw+k5SmQbbvg/5JXzCwHZxZCKl8w289iqWd024AprrkR20o3awxsTlobkE2+T8TU4w3pL/Rponu3B9VyI+I5WZshbM19nvhQHXmyWoNdtCFGri0dL9XYpLHqpiE+zD1ZsVMth4d+YZkI2Mj6eMiBVuVR5568TGqZ/qHE2dX3h0vkWIYFU0XFwx/P46kCxf89FfRD9GShahoBH2P+EFIiz1TcnnLbw/kyXleYVMWYIXYDoUT+f3Xs265nMqCXHdTA6GUlS8A79rttgouWN99KEo6EkF0o2ECiwSJfU/mq3Z5KWoHL97KlC6C9G+DxPCrLsvbOPCcm4= + secure: gE/KrxVCPfDItdRa0FV+49MQ0kfsEOMFdCd8Z6oETq6dqTPa7PpaCpQ2jJc72F3TYIVtV15ziCqF3m63fs+13kpbicvlBasXTjom8PV0n+mrLuMm+ejyFuXvRrIsS5GcLkf2THqJBfQRZEdJECiqwGQTbC0rH3icmbxk+KtlsDELGMmxPBdp+o9jxWrP+duKqlOi1kg/Q97gpwRo3fZCJZVtBWed/2Ha0+2Vc6nMFixzayab78gKocz//rx+xB+ODzqZBNUks9A0I2Nqw7Ano6/xVMWYPRMx/mhoyRe6tTMUA3AhkxHZAu89eJmW/fNPvC42Qos8V8aQzJnv0X8HWQl5QdypZZdHoOwVmi3CBVWAkUvazIj9PHX5hxsY3Svjnkq62Rmp1iF1Le87Uh8+N9rPWyZVtFwTqFD+ddT+/KHpdifD5y7dRwMiS5pbEZ01H6zIf3WvxvWUMI7Gm0SscZXWmV/s483Rlzz1wU1QgVF06SjrzcDsu/G6oR5JnZXk5L8mzrkslrRz5/DoP59i6gNpLrWTNnDTTgVxfC3RqumS3MtjM2Ap66WkZeqmxijsoqV8qZ//yKq2+wF6ZcQdSirUj1lUKDOUhWX33ls4pWt3zZIEAHni0yOecfiEJv6+vSWhPEgBHK+1sD/K6ilhHmN4NqJNkUEiLOw/+HU4AQs= services: - docker # -------------------------------------------------------------------------- # Tests # -------------------------------------------------------------------------- before_script: -- pip install invoke docker-compose poetry +- pip install invoke docker-compose +- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py > /tmp/get-poetry.py +- python /tmp/get-poetry.py -y --version 1.0.2 +- source $HOME/.poetry/env + script: - invoke build --python-ver $TRAVIS_PYTHON_VERSION - invoke tests --python-ver $TRAVIS_PYTHON_VERSION @@ -30,9 +34,10 @@ script: # -------------------------------------------------------------------------- deploy: provider: script - script: poetry publish --build -u __token__ -p $PYPI_TOKEN + script: poetry config pypi-token.pypi $PYPI_TOKEN && poetry publish --build + skip_cleanup: true on: tags: true branch: master condition: $NETBOX_VER = master - python: 3.7 \ No newline at end of file + python: 3.7 diff --git a/netbox_onboarding/__init__.py b/netbox_onboarding/__init__.py index 57534a2..2492ef1 100644 --- a/netbox_onboarding/__init__.py +++ b/netbox_onboarding/__init__.py @@ -12,7 +12,7 @@ limitations under the License. """ -__version__ = "0.9.2" +__version__ = "0.9.3" from extras.plugins import PluginConfig diff --git a/pyproject.toml b/pyproject.toml index 532d1f7..8c5d9dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ntc-netbox-plugin-onboarding" -version = "0.9.2" +version = "0.9.3" description = "A plugin for NetBox to easily onboard new devices." authors = ["Info "] license = "Apache-2.0"