Skip to content
Skills Library
DevOps & cloud · Learning & explanation

release-conventions

/release-conventions

Naming conventions for tags, releases, and SPKGs in the substreams-evm monorepo. Use when creating releases, tagging versions, or publishing packages.

Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
5
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Naming conventions for tags, releases, and SPKGs in the substreams-evm monorepo. Use when creating releases, tagging versions, or publishing packages.

Original author description

Naming conventions for tags, releases, and SPKGs in the substreams-evm monorepo. Use when creating releases, tagging versions, or publishing packages.

How it works

  1. URL Pattern
  2. Tag Format
  3. Release Name
  4. SPKG Naming
  5. substreams.yaml Package Names
  6. SPKG Distribution
  7. Release Workflow
  8. Version Alignment
  9. Directory Structure
Original SKILL.md headings · 92 lines, 346 words
SKILL.md preview
---
name: release-conventions
description: Naming conventions for tags, releases, and SPKGs in the substreams-evm monorepo. Use when creating releases, tagging versions, or publishing packages.
license: Apache-2.0
compatibility:
  platforms: [claude-code, cursor, vscode, windsurf]
metadata:
  version: 1.0.0
  author: Pinax Network
  documentation: https://github.com/pinax-network/substreams-evm
---

# Release & Packaging Conventions

Naming conventions and release workflow for Pinax `substreams-*` monorepos.

## URL Pattern

```
https://github.com/pinax-network/substreams-<chain>/releases/download/<chain>-<type>-v<version>/<chain>-clickhouse-<type>-v<version>.spkg
```

Examples:
- `https://github.com/pinax-network/substreams-evm/releases/download/evm-contracts-v0.4.0/evm-clickhouse-contracts-v0.4.0.spkg`
- `https://github.com/pinax-network/substreams-evm/releases/download/evm-balances-v0.3.3/evm-clickhouse-balances-v0.3.3.spkg`
- `https://github.com/pinax-network/substreams-svm/releases/download/svm-dex-v0.2.5/svm-clickhouse-dex-v0.2.5.spkg`

## Tag Format

```
<chain>-<type>-v<version>
```

Examples: `evm-contracts-v0.4.0`, `evm-dex-v0.4.0`, `svm-dex-v0.2.5`

## Release Name

```
<chain>-<type> v<version>
```

Examples: `evm-contracts v0.4.0`, `evm-dex v0.4.0`

## SPKG Naming

Each crate produces up to 3 SPKGs. All share the same version number.

| Type | Pattern | Example |
|------|---------|---------|
| Base DB module | `<chain>-<type>-v<version>.spkg` | `evm-contracts-v0.4.0.spkg` |
| ClickHouse sink | `<chain>-clickhouse-<type>-v<version>.spkg` | `evm-clickhouse-contracts-v0.4.0.spkg` |
| PostgreSQL sink | `<chain>-postgres-<type>-v<version>.spkg` | `evm-postgres-contracts-v0.4.0.spkg` |

> **Key**: Chain prefix comes first, then engine (`clickhouse` / `postgres`), then type.

## substreams.yaml Package Names

| Type | Pattern | Example |
|------|---------|---------|
| Base DB module | `<chain>_<type>` | `evm_contracts` |
| ClickHouse sink | `<chain>_clickhouse_<type>` | `evm_clickhouse_contracts` |
| PostgreSQL sink | `<chain>_postgres_<type>` | `evm_postgres_contracts` |

## SPKG Distribution

SPKGs must be placed in **two locations**:

1. `./spkg/` folder in the repo (so downstream modules can import them)
2. GitHub release assets (for external consumers / k8s templates)

## Release Workflow

1. **Bump version** in all relevant `substreams.yaml` files (base, clickhouse, postgres)
2. **Update import paths** in clickhouse/postgres `substreams.yaml` to reference the new base spkg version
3. **Build**: `cargo build --target wasm32-unknown-unknown --release -p <crate>`
4. **Pack** each module: `substreams pack` in the base, clickhouse, and postgres directories
5. **Copy SPKGs** to `./spkg/` (with correct naming) and remove old versions
6. **Commit** version bumps + spkg files
7. **Tag**: `git tag -a <chain>-<type>-v<version> -m "<chain>-<type> v<version>"`
8. **Push** commit and tag
9. **Create GitHub release** with the tag, attach all 3 SPKGs as assets

## Version Alignment

All 3 SPKGs for a given crate (base, clickhouse, postgres) **must share the same version**.

## Directory Structure

```
evm-<type>/                          # DB module (contains everything)
├── substreams.yaml                  # Base DB module
├── src/lib.rs
├── Cargo.toml
├── clickhouse/
│   ├── substreams.yaml              # ClickHouse sink (imports base spkg)
│   ├── schema.sql
│   └── Makefile
└── postgres/
    ├── substreams.yaml              # PostgreSQL sink (imports base spkg)
    ├── schema.sql
    └── Makefile
```

Versions

RepositoryScoreLicence
This page · pinax-network/substreams-evm100Apache-2.0
pinax-network/substreams-svm100Apache-2.0

Database snapshot: 13.11.2026 · package version ba21240ff7bf (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100substreams-pack
    Instructions for building, packing, and distributing Substreams packages (.spkg) in the substreams-evm monorepo. Use when building crates, running `substreams pack`, or copying .spkg files.
  • 100substreams-pack
    Instructions for building, packing, and distributing Substreams packages (.spkg) in the substreams-svm monorepo. Use when building crates, running `substreams pack`, or copying .spkg files.
  • 90release-tagging
    Tag releases with semantic versions and signed tags, generate changelogs, and trigger builds from tags. Use when setting up a release process or fixing ambiguous, unsigned, or manual releases.
  • 100substreams-sink-deploy-local
    Use when the user wants to run or operate a Substreams sink themselves — take a built .spkg and pipe its data into a destination (Postgres, ClickHouse, files, PubSub, webhook) on infrastructure they manage. Covers sink CLIs, schema setup, cursor management, reorg handling, and…
  • 95substreams-hosted-sink
    Use when the user wants StreamingFast to host and run a Substreams sink — deploy a .spkg to managed infrastructure (PostgreSQL or ClickHouse only) via the Portal API HostedService. HARD RULE: before any first-time hosted Deploy (or any "ready to deploy?" prompt), stop and offer…
  • 100release-please-configuration
    release-please monorepo config — component tags, per-package extra-files, tag migration. Use when adding packages or fixing duplicate-tag / no-bump failures.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.