Skip to content

Commit

Permalink
add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed Oct 11, 2024
1 parent 4c86afc commit c8886b4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/release
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

LATEST_TAG="$(git describe --tags --abbrev=0)"
COMMITS="$(git log "$LATEST_TAG..HEAD" --pretty=format:'- `%h` %s')"

# Create a release on GitHub
gh release create "$1" --notes "$COMMITS"

0 comments on commit c8886b4

Please sign in to comment.