File: prepare-release.sh

package info (click to toggle)
python-polyfactory 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,976 kB
  • sloc: python: 11,113; makefile: 102; sh: 34
file content (18 lines) | stat: -rwxr-xr-x 382 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 --with 'click==8.2.2' bump-my-version@1.1.2 bump --new-version "$bumped_version" --allow-dirty