diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..9464b84 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Release + +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false diff --git a/pymlconf/__init__.py b/pymlconf/__init__.py index 37e58ac..982e106 100644 --- a/pymlconf/__init__.py +++ b/pymlconf/__init__.py @@ -6,4 +6,4 @@ ConfigurationNotInitializedError -__version__ = '2.4.6' +__version__ = '2.4.7'