Skip to content

Commit 8645799

Browse files
committed
💚 update moban commands
1 parent dc5d9c6 commit 8645799

File tree

8 files changed

+24
-10
lines changed

8 files changed

+24
-10
lines changed

.github/workflows/moban-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: check changes
1616
run: |
1717
pip install moban gitfs2 pypifs
18-
moban
18+
moban -m mobanfile
1919
git status
2020
git diff --exit-code
2121
- name: Auto-commit

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ stages:
3030
stage: moban
3131
install: pip install moban>=0.0.4 gitfs2 pypifs
3232
script:
33-
- moban
33+
- moban -f mobanfile
3434
- git diff --exit-code
3535

3636
jobs:

CHANGELOG.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Change log
22
================================================================================
33

4-
0.0.1 - None
4+
0.0.1 - 02.09.2020
55
--------------------------------------------------------------------------------
66

77
**first release**
88

9-
#. what a feat!
9+
#. what a feat! files tests are available.

README.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ moban-ansible
77

88
.. image:: https://codecov.io/github/moremoban/moban-ansible/coverage.png
99
:target: https://codecov.io/github/moremoban/moban-ansible
10+
.. image:: https://badge.fury.io/py/moban-ansible.svg
11+
:target: https://pypi.org/project/moban-ansible
12+
13+
.. image:: https://pepy.tech/badge/moban-ansible/month
14+
:target: https://pepy.tech/project/moban-ansible/month
15+
1016
.. image:: https://img.shields.io/github/stars/moremoban/moban-ansible.svg?style=social&maxAge=3600&label=Star
1117
:target: https://github.com/moremoban/moban-ansible/stargazers
1218

@@ -17,7 +23,15 @@ moban-ansible
1723
Installation
1824
================================================================================
1925

20-
You can get it:
26+
27+
You can install moban-ansible via pip:
28+
29+
.. code-block:: bash
30+
31+
$ pip install moban-ansible
32+
33+
34+
or clone it and install it:
2135

2236
.. code-block:: bash
2337

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# The short X.Y version
2323
version = '0.0.1'
2424
# The full version, including alpha/beta/rc tags
25-
release = '0.0.0'
25+
release = '0.0.1'
2626

2727
# -- General configuration ---------------------------------------------------
2828

moban-ansible.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ license: newbsd
1111
dependencies: []
1212
description: "Ansible filters, tests and utility functions for moban users"
1313
lint_command: make install_test lint format git-diff-check
14+
moban_command: moban -f mobanfile

mobanfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ targets:
2323
- LICENSE: "newbsd_license.jj2"
2424
- MANIFEST.in: MANIFEST.in.jj2
2525
- ".github/workflows/pythonpublish.yml": "pythonpublish.yml"
26-
- ".github/workflows/moban-update.yml": "moban-update.yml"
2726
- "azure-pipelines.yml": "azure/azure-pipelines.yml"
2827
- ".azure-pipelines-steps-macos.yml": "azure/pipelines-steps-macos.yml"
2928
- ".azure-pipelines-steps.yml": "azure/pipelines-steps.yml"

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"Ansible filters, tests and utility functions for moban users"
4040
)
4141
URL = "https://github.com/moremoban/moban-ansible"
42-
DOWNLOAD_URL = "%s/archive/0.0.0.tar.gz" % URL
42+
DOWNLOAD_URL = "%s/archive/0.0.1.tar.gz" % URL
4343
FILES = ["README.rst", "CHANGELOG.rst"]
4444
KEYWORDS = [
4545
"python",
@@ -69,8 +69,8 @@
6969
EXTRAS_REQUIRE = {}
7070
# You do not need to read beyond this line
7171
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
72-
GS_COMMAND = ("gs moban-ansible v0.0.0 " +
73-
"Find 0.0.0 in changelog for more details")
72+
GS_COMMAND = ("gs moban-ansible v0.0.1 " +
73+
"Find 0.0.1 in changelog for more details")
7474
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
7575
"Please install gease to enable it.")
7676
UPLOAD_FAILED_MSG = (

0 commit comments

Comments
 (0)