File tree 10 files changed +48
-99
lines changed
10 files changed +48
-99
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ jobs:
10
10
black :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/setup-python@v1
13
+ - uses : actions/setup-python@v2
14
14
- uses : actions/checkout@v2
15
15
- run : python -m pip install black
16
16
- run : black --check --diff .
17
17
18
18
dist :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/setup-python@v1
21
+ - uses : actions/setup-python@v2
22
22
- run : python -m pip install --upgrade pip setuptools wheel twine readme-renderer
23
23
- uses : actions/checkout@v2
24
24
- run : python setup.py sdist bdist_wheel
27
27
standardjs :
28
28
runs-on : ubuntu-latest
29
29
steps :
30
- - uses : actions/checkout@v1
30
+ - uses : actions/checkout@v2
31
31
- uses : actions/setup-node@v1
32
32
with :
33
33
node-version : ' 12.x'
37
37
docs :
38
38
runs-on : ubuntu-latest
39
39
steps :
40
- - uses : actions/setup-python@v1
41
- - uses : actions/checkout@v1
40
+ - uses : actions/setup-python@v2
41
+ - uses : actions/checkout@v2
42
42
- run : sudo apt-get install -y gettext graphviz
43
43
- run : python setup.py develop
44
44
- run : python setup.py build_sphinx -W -b doctest -b html
59
59
runs-on : ubuntu-latest
60
60
steps :
61
61
- name : Set up Python ${{ matrix.python-version }}
62
- uses : actions/setup-python@v1
62
+ uses : actions/setup-python@v2
63
63
with :
64
64
python-version : ${{ matrix.python-version }}
65
65
- name : Install Chrome
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ PyPI :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/setup-python@v2
12
+ - uses : actions/checkout@v2
13
+ - name : Install Python dependencies
14
+ run : python -m pip install --upgrade pip setuptools wheel twine
15
+ - name : Build dist packages
16
+ run : python setup.py sdist bdist_wheel
17
+ - name : Upload packages
18
+ run : python -m twine upload dist/*
19
+ env :
20
+ TWINE_USERNAME : __token__
21
+ TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
22
+
23
+ npm :
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - uses : actions/setup-node@v1
27
+ - uses : actions/checkout@v2
28
+ - name : Upload packages
29
+ run : npm publish
30
+ env :
31
+ NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change
1
+ //registry.npmjs.org/:_authToken = ${ NPM_AUTH_TOKEN }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Documentation available at https://django-select2.readthedocs.io/.
24
24
25
25
.. |version | image :: https://img.shields.io/pypi/v/Django-Select2.svg
26
26
:target: https://pypi.python.org/pypi/Django-Select2/
27
- .. |coverage | image :: https://codecov.io/gh/applegrew /django-select2/branch/master/graph/badge.svg
28
- :target: https://codecov.io/gh/applegrew /django-select2
27
+ .. |coverage | image :: https://codecov.io/gh/codingjoe /django-select2/branch/master/graph/badge.svg
28
+ :target: https://codecov.io/gh/codingjoe /django-select2
29
29
.. |license | image :: https://img.shields.io/badge/license-APL2-blue.svg
30
- :target: https://raw.githubusercontent.com/applegrew /django-select2/master/LICENSE.txt
30
+ :target: https://raw.githubusercontent.com/codingjoe /django-select2/master/LICENSE.txt
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ Changelog
183
183
184
184
See `Github releases `_.
185
185
186
- .. _Github releases : https://github.com/applegrew /django-select2/releases
186
+ .. _Github releases : https://github.com/codingjoe /django-select2/releases
187
187
188
188
All Contents
189
189
============
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ brew install redis
13
13
Now, to run the sample app, please execute:
14
14
15
15
```
16
- git clone https://github.com/applegrew /django-select2.git
16
+ git clone https://github.com/codingjoe /django-select2.git
17
17
cd django-select2/example
18
18
python3 -m pip install -r requirements.txt
19
19
python3 manage.py migrate
Original file line number Diff line number Diff line change 15
15
},
16
16
"repository" : {
17
17
"type" : " git" ,
18
- "url" : " git://github.com/applegrew /django-select2.git"
18
+ "url" : " git://github.com/codingjoe /django-select2.git"
19
19
},
20
20
"keywords" : [
21
21
" django" ,
24
24
"author" : " Johannes Hoppe" ,
25
25
"license" : " Apache-2.0" ,
26
26
"bugs" : {
27
- "url" : " https://github.com/applegrew /django-select2/issues"
27
+ "url" : " https://github.com/codingjoe /django-select2/issues"
28
28
},
29
- "homepage" : " https://github.com/applegrew /django-select2#readme" ,
29
+ "homepage" : " https://github.com/codingjoe /django-select2#readme" ,
30
30
"peerDependencies" : {
31
31
"select2" : " *" ,
32
32
"jquery" : " >= 1.2"
Original file line number Diff line number Diff line change 7
7
with open ("package.json" , "r+" ) as f :
8
8
data = json .load (f )
9
9
f .seek (0 )
10
- data ["version" ] = os .environ ["TRAVIS_TAG" ]
10
+ data ["version" ] = os .environ ["GITHUB_REF" ]. rsplit ( "/" )[ - 1 ]
11
11
json .dump (data , f )
12
12
f .truncate ()
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ author = Johannes Hoppe
4
4
5
5
description = Select2 option fields for Django
6
6
long_description = file: README.rst
7
- url = https://github.com/applegrew /django-select2
7
+ url = https://github.com/codingjoe /django-select2
8
8
license = MIT
9
9
license_file = LICENSE
10
10
classifier =
You can’t perform that action at this time.
0 commit comments