Skip to content

Commit

Permalink
feat(releaser): add script to ease release process [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aliesbelik committed Jan 23, 2024
1 parent 5200ac8 commit 9b09eba
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/releaser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

# Trigger release action on new release

if [ -z "$1" ]; then
echo "Please provide a version number."
echo "Usages: $0 [X.Y.Z]"
exit 1
fi

version=$1

git tag -a "v$version" -m "Release version $version"
git push origin "v$version"

0 comments on commit 9b09eba

Please sign in to comment.