File: prepare-release.sh

package info (click to toggle)
python-polyfactory 2.22.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,892 kB
  • sloc: python: 11,338; makefile: 103; sh: 37
file content (18 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

set -e

bumped_version=$(
	uv run git-cliff \
		-c pyproject.toml \
		--github-token "$(gh auth token)" \
		--bumped-version
)

uv run git-cliff \
	-c pyproject.toml \
	--github-token "$(gh auth token)" \
	--tag "$bumped_version" \
	--output docs/changelog.rst

uvx bump-my-version@1.1.2 bump --new-version "$bumped_version"