From 0a6e19731d8db9f0ce432deb9dfd91798792c3c1 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:04:02 -0500 Subject: [PATCH 01/12] fix just install --- .github/workflows/release-pypi.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-pypi.yaml b/.github/workflows/release-pypi.yaml index 162de46..8fbadca 100644 --- a/.github/workflows/release-pypi.yaml +++ b/.github/workflows/release-pypi.yaml @@ -16,15 +16,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: waylonwalker/hatch-action@v4 - with: - before-command: "lint-format" - env: - # required for gh release - GH_TOKEN: ${{ github.token }} + # - uses: waylonwalker/hatch-action@v4 + # with: + # before-command: "lint-format" + # env: + # # required for gh release + # GH_TOKEN: ${{ github.token }} - name: Install just run: | - curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to DEST + curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin shell: bash - name: Install uv run: | From 1138f695f47cf3bfbdedb32b6dcf97be00964002 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:04:59 -0500 Subject: [PATCH 02/12] bump action --- .github/workflows/release-pypi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-pypi.yaml b/.github/workflows/release-pypi.yaml index 8fbadca..e7b47e7 100644 --- a/.github/workflows/release-pypi.yaml +++ b/.github/workflows/release-pypi.yaml @@ -22,6 +22,7 @@ jobs: # env: # # required for gh release # GH_TOKEN: ${{ github.token }} + # - name: Install just run: | curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin From 7511cace421efe8c0a965439ed0efed0d81e683b Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:05:43 -0500 Subject: [PATCH 03/12] bump build --- krayt/__about__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krayt/__about__.py b/krayt/__about__.py index 6a9beea..6f9c9b3 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.0" +__version__ = "0.4.1b0" From b64e635b714564c2ff3017fd2141f5036fe035b1 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:09:52 -0500 Subject: [PATCH 04/12] install hatch for release --- .github/workflows/release-pypi.yaml | 11 +++++++++++ krayt/__about__.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-pypi.yaml b/.github/workflows/release-pypi.yaml index e7b47e7..f1a6c3e 100644 --- a/.github/workflows/release-pypi.yaml +++ b/.github/workflows/release-pypi.yaml @@ -31,6 +31,17 @@ jobs: run: | curl -LsSf https://astral.sh/uv/0.6.16/install.sh | sh shell: bash + - name: Install hatch + run: | + uv pip install hatch --system + shell: bash + - name: Configure Git + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + shell: bash - name: GitHub Release (just release) run: just create-release + env: + GH_TOKEN: ${{ github.token }} shell: bash diff --git a/krayt/__about__.py b/krayt/__about__.py index 6f9c9b3..ea0e418 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.1b0" +__version__ = "0.4.1b1" From 2fbc15ae8492385b92caadff51c9ca211f832f9a Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:11:13 -0500 Subject: [PATCH 05/12] use uv tool --- .github/workflows/release-pypi.yaml | 2 +- krayt/__about__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-pypi.yaml b/.github/workflows/release-pypi.yaml index f1a6c3e..78cba98 100644 --- a/.github/workflows/release-pypi.yaml +++ b/.github/workflows/release-pypi.yaml @@ -33,7 +33,7 @@ jobs: shell: bash - name: Install hatch run: | - uv pip install hatch --system + uv tool install hatch shell: bash - name: Configure Git run: | diff --git a/krayt/__about__.py b/krayt/__about__.py index ea0e418..04e30ea 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.1b1" +__version__ = "0.4.1b2" From 1fee6e2c97be2fc1b8db531a8167b4678eb628ca Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:19:57 -0500 Subject: [PATCH 06/12] fix deployment --- justfile | 2 +- krayt/__about__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index f62f5c9..35dfece 100644 --- a/justfile +++ b/justfile @@ -31,7 +31,7 @@ create-archives: rm -rf dist build hatch build -t binary - krayt_bin=dist/binary/krayt-${VERSION} + krayt_bin=dist/binary/krayt-${VERSION}/krayt_linux_amd64 # Create the binary for each platform for platform in "x86_64-unknown-linux-gnu" "aarch64-unknown-linux-gnu"; do diff --git a/krayt/__about__.py b/krayt/__about__.py index 04e30ea..7c5a130 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.1b2" +__version__ = "0.4.1b3" From be6ee910981561226d56d404329bf25baad60bb6 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:28:57 -0500 Subject: [PATCH 07/12] release 0.4.1 --- .github/workflows/release-pypi.yaml | 13 ++++++------- CHANGELOG.md | 4 ++++ justfile | 2 +- krayt/__about__.py | 2 +- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-pypi.yaml b/.github/workflows/release-pypi.yaml index 78cba98..1e607ef 100644 --- a/.github/workflows/release-pypi.yaml +++ b/.github/workflows/release-pypi.yaml @@ -16,13 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - # - uses: waylonwalker/hatch-action@v4 - # with: - # before-command: "lint-format" - # env: - # # required for gh release - # GH_TOKEN: ${{ github.token }} - # + - uses: waylonwalker/hatch-action@v4 + with: + before-command: "lint-format" + env: + # required for gh release + GH_TOKEN: ${{ github.token }} - name: Install just run: | curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin diff --git a/CHANGELOG.md b/CHANGELOG.md index e6265dc..a158339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.1 + +- Automated release for both pypi and github + ## 0.4.0 - create now has --apply to apply the generated manifest to the cluster diff --git a/justfile b/justfile index 35dfece..f62f5c9 100644 --- a/justfile +++ b/justfile @@ -31,7 +31,7 @@ create-archives: rm -rf dist build hatch build -t binary - krayt_bin=dist/binary/krayt-${VERSION}/krayt_linux_amd64 + krayt_bin=dist/binary/krayt-${VERSION} # Create the binary for each platform for platform in "x86_64-unknown-linux-gnu" "aarch64-unknown-linux-gnu"; do diff --git a/krayt/__about__.py b/krayt/__about__.py index 7c5a130..a79b352 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.1b3" +__version__ = "0.4.1b4" From d6056cead2e8aa7275e66d85a0e3d265cfa27d73 Mon Sep 17 00:00:00 2001 From: WaylonWalker Date: Thu, 24 Apr 2025 01:36:32 +0000 Subject: [PATCH 08/12] =?UTF-8?q?Bump=20version:=200.4.1b4=20=E2=86=92=200?= =?UTF-8?q?.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- krayt/__about__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krayt/__about__.py b/krayt/__about__.py index a79b352..3d26edf 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.1b4" +__version__ = "0.4.1" From eb54e314ff4f495ab839e42a0cce79a1d7e0f09f Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:40:38 -0500 Subject: [PATCH 09/12] release 0.4.2 --- .github/workflows/release-pypi.yaml | 5 ++++- CHANGELOG.md | 4 ++++ krayt/__about__.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-pypi.yaml b/.github/workflows/release-pypi.yaml index 1e607ef..8aead5b 100644 --- a/.github/workflows/release-pypi.yaml +++ b/.github/workflows/release-pypi.yaml @@ -12,7 +12,7 @@ permissions: packages: none id-token: write jobs: - release-krayt: + pypi-release-krayt: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -22,6 +22,9 @@ jobs: env: # required for gh release GH_TOKEN: ${{ github.token }} + gh-release-krayt: + runs-on: ubuntu-latest + steps: - name: Install just run: | curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin diff --git a/CHANGELOG.md b/CHANGELOG.md index a158339..cc6a106 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.2 + +- working out binary release process + ## 0.4.1 - Automated release for both pypi and github diff --git a/krayt/__about__.py b/krayt/__about__.py index 3d26edf..d54ab1b 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.1" +__version__ = "0.4.2b0" From 45e5dd74aaea0a1b1af19300ee1f6cdd112f9c86 Mon Sep 17 00:00:00 2001 From: WaylonWalker Date: Thu, 24 Apr 2025 01:42:32 +0000 Subject: [PATCH 10/12] =?UTF-8?q?Bump=20version:=200.4.2b0=20=E2=86=92=200?= =?UTF-8?q?.4.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- krayt/__about__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krayt/__about__.py b/krayt/__about__.py index d54ab1b..df12433 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.2b0" +__version__ = "0.4.2" From f8c44999fe1f0d6e98e9c651d35c27477d48fba2 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 23 Apr 2025 20:45:16 -0500 Subject: [PATCH 11/12] release 0.4.3 --- .github/workflows/release-pypi.yaml | 4 +--- CHANGELOG.md | 4 ++++ krayt/__about__.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-pypi.yaml b/.github/workflows/release-pypi.yaml index 8aead5b..16111e2 100644 --- a/.github/workflows/release-pypi.yaml +++ b/.github/workflows/release-pypi.yaml @@ -22,9 +22,7 @@ jobs: env: # required for gh release GH_TOKEN: ${{ github.token }} - gh-release-krayt: - runs-on: ubuntu-latest - steps: + - run: sudo rm -rf dist - name: Install just run: | curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin diff --git a/CHANGELOG.md b/CHANGELOG.md index cc6a106..29ffba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.3 + +- working out binary release process + ## 0.4.2 - working out binary release process diff --git a/krayt/__about__.py b/krayt/__about__.py index df12433..6d91c22 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.2" +__version__ = "0.4.3b0" From 0f9e70267ecefbc0a9803e1232906971835a10e1 Mon Sep 17 00:00:00 2001 From: WaylonWalker Date: Thu, 24 Apr 2025 01:46:17 +0000 Subject: [PATCH 12/12] =?UTF-8?q?Bump=20version:=200.4.3b0=20=E2=86=92=200?= =?UTF-8?q?.4.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- krayt/__about__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krayt/__about__.py b/krayt/__about__.py index 6d91c22..f6b7e26 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.4.3b0" +__version__ = "0.4.3"