mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 00:33:40 +00:00
deploy only if tags (#43)
* add VERSION symlink * deploy only on tags true
This commit is contained in:
@@ -32,6 +32,7 @@ jobs:
|
|||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
repo: davegallant/rfd
|
repo: davegallant/rfd
|
||||||
|
tags: true
|
||||||
provider: pypi
|
provider: pypi
|
||||||
user: __token__
|
user: __token__
|
||||||
password:
|
password:
|
||||||
|
@@ -1,3 +1,6 @@
|
|||||||
include requirements.txt
|
include requirements.txt
|
||||||
include requirements_dev.txt
|
include requirements_dev.txt
|
||||||
include rfd/__version__.py
|
include rfd/VERSION
|
||||||
|
|
||||||
|
recursive-exclude * __pycache__
|
||||||
|
recursive-include tests *
|
||||||
|
1
rfd/VERSION
Normal file
1
rfd/VERSION
Normal file
@@ -0,0 +1 @@
|
|||||||
|
0.3.2
|
@@ -1,4 +1,12 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
version = "0.3.2"
|
from os.path import dirname, abspath, join
|
||||||
|
|
||||||
|
|
||||||
|
def load_version():
|
||||||
|
with open(join(dirname(abspath(__file__)), "VERSION")) as handle:
|
||||||
|
return handle.read()
|
||||||
|
|
||||||
|
|
||||||
|
version = load_version()
|
||||||
|
1
setup.py
1
setup.py
@@ -24,6 +24,7 @@ setup(
|
|||||||
author="Dave Gallant",
|
author="Dave Gallant",
|
||||||
description="CLI for RedFlagDeals.com",
|
description="CLI for RedFlagDeals.com",
|
||||||
entry_points={"console_scripts": ["rfd = rfd.__main__:cli"]},
|
entry_points={"console_scripts": ["rfd = rfd.__main__:cli"]},
|
||||||
|
include_package_data=True,
|
||||||
install_requires=REQUIREMENTS,
|
install_requires=REQUIREMENTS,
|
||||||
keywords="cli redflagdeals",
|
keywords="cli redflagdeals",
|
||||||
license="Apache License, Version 2.0",
|
license="Apache License, Version 2.0",
|
||||||
|
Reference in New Issue
Block a user