Skip to content

Commit

Permalink
v for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mRcSchwering committed Dec 8, 2023
1 parent 7630407 commit 3094db2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
name: CI

on:
workflow_dispatch:
push:
tags:
- 'v*'
Expand Down
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
set -e

version=$(grep "^version = " pyproject.toml | sed 's/version = //g' | sed 's/"//g')
read -p "Release as ${version}? (y/N)" confirm
read -p "Release as v${version}? (y/N)" confirm
[[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1

git tag "$version"
git push origin "$version"
git tag "v$version"
git push origin "v$version"

0 comments on commit 3094db2

Please sign in to comment.