mirror of
https://github.com/hanzoai/agent.git
synced 2026-09-11 21:08:51 +00:00
Release the wheel under its own name
`v*` belongs to the Go module -- Go reads the version off the tag and the sumdb makes each one immutable, so v0.1.1 has named a Go commit since long before the wheel wanted the number. Naming the distribution in its tag gives the two artifacts one namespace each. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
# Canonical caller — every knob lives in /hanzo.yml, none here.
|
||||
#
|
||||
# arm64, because `hanzo-agent` is one `py3-none-any` wheel: nothing this repo
|
||||
# TWO ARTIFACTS, TWO TAG NAMESPACES. `v*` belongs to the Go module: Go reads
|
||||
# github.com/hanzoai/[email protected] off the tag itself, and the sumdb makes every
|
||||
# one of them immutable, so `v0.1.1` is spoken for and cannot be reused for a
|
||||
# wheel. The distribution is named instead — `hanzo-agent-v0.1.1` — which is the
|
||||
# shape hanzoai/ci matches against each pyproject's own [project] name.
|
||||
#
|
||||
# arm64, because `hanzo-agent` is one py3-none-any wheel: nothing this repo
|
||||
# publishes is a function of the machine that built it, so it asks for the label
|
||||
# this org has capacity on rather than the pipeline's amd64 default.
|
||||
name: CI/CD
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
tags: ['v*']
|
||||
tags: ['v*', 'hanzo-agent-*']
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user