From 1472fd978d23c6569a4015e3b874ca2a668c9e2f Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Thu, 1 Sep 2022 11:00:05 -0500 Subject: [PATCH 1/5] remove badges --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 86c47dc..f9d2ace 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Hatch Version Action Example -[![PyPI - Version](https://img.shields.io/pypi/v/hatch-version-action-example.svg)](https://pypi.org/project/hatch-version-action-example) -[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hatch-version-action-example.svg)](https://pypi.org/project/hatch-version-action-example) + ----- From 4c2fd069898872aaf7ed6e52c143d1847d5016ed Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Thu, 1 Sep 2022 11:01:20 -0500 Subject: [PATCH 2/5] run on all branches --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b483680..cb1c1af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,9 +6,7 @@ name: CI on: # Triggers the workflow on push or pull request events but only for the "main" branch push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + branches: [ "*" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From e2c7e739d572d8f40c845a26c03b0029db48131d Mon Sep 17 00:00:00 2001 From: autobump Date: Thu, 1 Sep 2022 16:06:59 +0000 Subject: [PATCH 3/5] =?UTF-8?q?Bump=20version:=200.0.1=20=E2=86=92=200.1.0?= =?UTF-8?q?.dev0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hatch_version_action_example/__about__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hatch_version_action_example/__about__.py b/hatch_version_action_example/__about__.py index fe60eb5..fd2c7ed 100644 --- a/hatch_version_action_example/__about__.py +++ b/hatch_version_action_example/__about__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2022-present Waylon S. Walker # # SPDX-License-Identifier: MIT -__version__ = '0.0.1' +__version__ = '0.1.0.dev0' From 7160ef5eae09a2defccc0cca5424a2ecd9fd1f94 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Thu, 1 Sep 2022 12:32:24 -0500 Subject: [PATCH 4/5] only install hatch in action --- .github/workflows/main.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb1c1af..5e15102 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,10 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +env: + HATCH_INDEX_USER: __token__ + HATCH_INDEX_AUTH: ${{ secrets.pypi_token }} + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" @@ -22,12 +26,4 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - - name: Setup Python - uses: actions/setup-python@v4.2.0 - with: - python-version: '3.10' - - - run: pip install hatch - - uses: waylonwalker/hatch-version-action@v1 From e9573692fc0cf4cbd233ee837b4e180447644763 Mon Sep 17 00:00:00 2001 From: autobump Date: Thu, 1 Sep 2022 17:33:13 +0000 Subject: [PATCH 5/5] =?UTF-8?q?Bump=20version:=200.1.0.dev0=20=E2=86=92=20?= =?UTF-8?q?0.1.0.dev1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hatch_version_action_example/__about__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hatch_version_action_example/__about__.py b/hatch_version_action_example/__about__.py index fd2c7ed..f2980ed 100644 --- a/hatch_version_action_example/__about__.py +++ b/hatch_version_action_example/__about__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2022-present Waylon S. Walker # # SPDX-License-Identifier: MIT -__version__ = '0.1.0.dev0' +__version__ = '0.1.0.dev1'