Skip to content

Commit f1d926c

Browse files
committed
Release 1.1.0
1 parent 6912086 commit f1d926c

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.github/workflows/release.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ on:
22
push:
33
# Pattern matched against refs/tags
44
tags: ["v[0-9]+", "v[0-9]+.[0-9]+", "v[0-9]+.[0-9]+.[0-9]+", "v[0-9]+.[0-9]+.[0-9]+.post[0-9]+", "v[0-9]+.[0-9]+.[0-9]+.dev[0-9]+",]
5-
workflow_dispatch:
65

76
permissions:
87
contents: read

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ data_contract = DataContractSpecification.from_string(data_contract_str)
5454
print(data_contract.to_yaml())
5555
```
5656

57+
## Development
58+
59+
```
60+
uv sync --all-extras
61+
```
62+
5763
## Release
5864

5965
- Change version number in `pyproject.toml`

release

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
set -e
3+
4+
# Release steps:
5+
# 1. Update release version in pyproject.toml
6+
# 2. Update CHANGELOG.md header
7+
# 3. Run ./release
8+
# 4. Update release notes in Github
9+
10+
# pip install toml-cli
11+
VERSION=$(uv run --with toml-cli toml get --toml-path pyproject.toml project.version)
12+
TAG_VERSION=v$VERSION
13+
echo "Current version: $VERSION"
14+
15+
echo "Checking that everything is committed"
16+
git diff --exit-code
17+
echo "Tagging $TAG_VERSION"
18+
git tag $TAG_VERSION
19+
echo "Pushing $TAG_VERSION"
20+
git push origin $TAG_VERSION
21+
echo "Pushed $TAG_VERSION"

0 commit comments

Comments
 (0)