Skip to content

Commit

Permalink
ci: setup release pipeline (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Alvoeiro authored Aug 24, 2024
1 parent dd126af commit 1d0ab97
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PYPI Release

on:
push:
branches:
- main
tags:
- 'v*'

jobs:
pypi_release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Source Cargo Environment
run: source $HOME/.cargo/env

- name: Build with UV
run: uvx --from build pyproject-build --installer uv

- name: Publish
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN_TEMP }}
packages_dir: ./dist/
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "goose"
name = "goose-ai"
description = "a programming agent that runs on your machine"
version = "0.8.0"
readme = "README.md"
Expand All @@ -8,13 +8,16 @@ dependencies = [
"attrs>=23.2.0",
"rich>=13.7.1",
"ruamel-yaml>=0.18.6",
"exchange>=0.7.6",
"ai-exchange>=0.8.0",
"click>=8.1.7",
"prompt-toolkit>=3.0.47",
]
author = [{ name = "Block", email = "[email protected]" }]
packages = [{ include = "goose", from = "src" }]

[tool.hatch.build.targets.wheel]
packages = ["src/goose"]

[project.entry-points."goose.toolkit"]
developer = "goose.toolkit.developer:Developer"
github = "goose.toolkit.github:Github"
Expand Down

0 comments on commit 1d0ab97

Please sign in to comment.