Skip to content

Commit

Permalink
Updated Action workflows, setup info and Readme for dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
nick committed Feb 28, 2024
1 parent 96d7681 commit f4d8b15
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Publishing

on:
push:
branches-ignore: [ master ]
on: [push]

jobs:
test:
uses: ./.github/workflows/test.yml
publish:
name: Publish the client to the public registry
needs: [test]
runs-on: ubuntu-latest
env:
NPMRC: ${{ secrets.NPMRC }}

PYPIRC: ${{ secrets.PYPIRC }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Use Python 3.8
- name: Use Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3,8'
python-version: '3.10'
- run: |
echo $PYPIRC > ~/.pypirc
python -m pip install --user --upgrade wheel
python -m pip install --user --upgrade twine
python setup.py sdist bdist_wheel
python -m twine upload dist/*
python -m twine upload dist/* -u __token__ -p $PYPI_TOKEN
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Testing

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [workflow_call]

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Minimum Manticore Search version is >= 2.5.1 with HTTP protocol enabled.
Install the `manticoresearch` package with [pip](http://pypi.python.org)

```sh
pip install manticoresearch
pip install manticoresearch-dev
```

Then import the package:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from setuptools import setup, find_packages
from os import path

NAME = "manticoresearch"
VERSION = "4.0.0"
NAME = "manticoresearch-dev"
VERSION = "4.1.0-dev"
# To install the library, run the following
#
# python setup.py install
Expand Down

0 comments on commit f4d8b15

Please sign in to comment.