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/9] 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/9] 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/9] =?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/9] 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/9] =?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' From 3d90a6464919df95fa2cf1283e287afac713e323 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Thu, 1 Sep 2022 12:35:12 -0500 Subject: [PATCH 6/9] rename --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5e15102..8034278 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: Use hatch-version-action # Controls when the workflow will run on: From 472f0e8660d18d0d9af202d8ed830e3eb80acdc7 Mon Sep 17 00:00:00 2001 From: autobump Date: Thu, 1 Sep 2022 17:35:48 +0000 Subject: [PATCH 7/9] =?UTF-8?q?Bump=20version:=200.1.0.dev1=20=E2=86=92=20?= =?UTF-8?q?0.1.0.dev2?= 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 f2980ed..bd2aaf0 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.dev1' +__version__ = '0.1.0.dev2' From 881417634c5a683a4e8ed10c01d01468aa3b581f Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Thu, 1 Sep 2022 13:01:46 -0500 Subject: [PATCH 8/9] run --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index f9d2ace..aebb2ef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Hatch Version Action Example - - ----- **Table of Contents** From 5ac8128c562bf80a7e0f816ece21cc9c4f933c23 Mon Sep 17 00:00:00 2001 From: autobump Date: Thu, 1 Sep 2022 18:02:37 +0000 Subject: [PATCH 9/9] =?UTF-8?q?Bump=20version:=200.1.0.dev2=20=E2=86=92=20?= =?UTF-8?q?0.1.0.dev3?= 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 bd2aaf0..3df9694 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.dev2' +__version__ = '0.1.0.dev3'