Skip to content

Commit

Permalink
xc bump v1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Feb 26, 2023
1 parent 0989b90 commit cf5df18
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,32 @@ lsrpath() {

This should be added to a `pkg doctor` type thing I reckon. eg.
`pkg doctor zlib.net -Q:rpath`.


 


# Tasks

## Bump

Inputs: TAG_NAME

```sh
if ! git diff-index --quiet HEAD --; then
echo "error: dirty working tree" >&2
exit 1
fi

if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then
echo "error: requires main branch" >&2
exit 1
fi

if [[ "$TAG_NAME" != v* ]]; then
TAG_NAME="v$TAG_NAME"
fi

git push origin main
tea gh release create "$TAG_NAME"
```

0 comments on commit cf5df18

Please sign in to comment.