Skip to content

Commit cf5df18

Browse files
committed
xc bump v1.2.3
1 parent 0989b90 commit cf5df18

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,32 @@ lsrpath() {
6868

6969
This should be added to a `pkg doctor` type thing I reckon. eg.
7070
`pkg doctor zlib.net -Q:rpath`.
71+
72+
73+
 
74+
75+
76+
# Tasks
77+
78+
## Bump
79+
80+
Inputs: TAG_NAME
81+
82+
```sh
83+
if ! git diff-index --quiet HEAD --; then
84+
echo "error: dirty working tree" >&2
85+
exit 1
86+
fi
87+
88+
if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then
89+
echo "error: requires main branch" >&2
90+
exit 1
91+
fi
92+
93+
if [[ "$TAG_NAME" != v* ]]; then
94+
TAG_NAME="v$TAG_NAME"
95+
fi
96+
97+
git push origin main
98+
tea gh release create "$TAG_NAME"
99+
```

0 commit comments

Comments
 (0)